Home
last modified time | relevance | path

Searched refs:KEY_BITS_UNIT (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_mbedtls.h38 #define KEY_BITS_UNIT 8 macro
/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_crypto.h35 #define KEY_BITS_UNIT 8 macro
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_mbedtls.c104 ret = mbedtls_gcm_setkey(&aesContext, MBEDTLS_CIPHER_ID_AES, cryptPara->key, cryptPara->keylen * KEY_BITS_UNIT); in MbedAesGcmEncrypt()
195 cryptPara->keylen * KEY_BITS_UNIT); in MbedAesGcmDecrypt()
/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_adapter_crypto.c92 ret = mbedtls_gcm_setkey(&aesContext, MBEDTLS_CIPHER_ID_AES, cipherKey->key, cipherKey->keyLen * KEY_BITS_UNIT); in MbedAesGcmEncrypt()
132 mbedtls_gcm_setkey(&aesContext, MBEDTLS_CIPHER_ID_AES, cipherKey->key, cipherKey->keyLen * KEY_BITS_UNIT); in MbedAesGcmDecrypt()

Completed in 3 milliseconds