Crypto: Pila de subprocesos
Este módulo incluye funciones criptográficas.
Resumen
Typedefs |
|
---|---|
otCryptoSha256Hash
|
typedef |
Funciones |
|
---|---|
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
Este método realiza el cálculo AES CCM.
|
otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash)
|
void
Esta función realiza el cálculo HMAC.
|
Structs |
|
---|---|
otCryptoSha256Hash |
Esta estructura representa un hash SHA-256. |
Typedefs
Hash de otCryptoSha256
otPlatCryptoSha256Hash otCryptoSha256Hash
Funciones
oCCryptoAesCcm
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 )
Este método realiza el cálculo AES CCM.
Detalles | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parámetros |
|
otCryptoHmacSha256
void otCryptoHmacSha256( const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash )
Esta función realiza el cálculo HMAC.
Detalles | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parámetros |
|
Recursos
Los temas de referencia de la API de OpenThread se originan en el código fuente, disponible en GitHub. Para obtener más información o colaborar con nuestra documentación, consulta Recursos.