Crypto - Stack Thread
Questo modulo include funzioni crittografiche.
Riepilogo
Typedef |
|
|---|---|
otCryptoSha256Hash
|
typedef Rappresenta un hash SHA-256. |
Funzioni |
|
|---|---|
otCryptoAesCcm(const otCryptoKey *aKey, uint8_t aTagLength, const void *aNonce, uint8_t aNonceLength, const void *aHeader, uint32_t aHeaderLength, void *aPlainText, void *aCipherText, uint32_t aLength, bool aEncrypt, void *aTag)
|
void
Esegue il calcolo AES CCM.
|
otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash)
|
void
Esegue il calcolo HMAC.
|
Typedef
Funzioni
otCryptoAesCcm
void otCryptoAesCcm( const otCryptoKey *aKey, uint8_t aTagLength, const void *aNonce, uint8_t aNonceLength, const void *aHeader, uint32_t aHeaderLength, void *aPlainText, void *aCipherText, uint32_t aLength, bool aEncrypt, void *aTag )
Esegue il calcolo AES CCM.
| Dettagli | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parametri |
|
||||||||||||||||||||||
otCryptoHmacSha256
void otCryptoHmacSha256( const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash )
Esegue il calcolo HMAC.
| Dettagli | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Parametri |
|
||||||||
Risorse
Gli argomenti di riferimento dell'API OpenThread provengono dal codice sorgente, disponibile su GitHub. Per saperne di più o per contribuire alla nostra documentazione, consulta la sezione Risorse.