Home
last modified time | relevance | path

Searched refs:AES_SESSION_KEY_LENGTH (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/
H A Dsoftbus_aes_encrypt.c133 if (memcpy_s(cipherKey->key, cipherKey->keyLen, result, AES_SESSION_KEY_LENGTH) != EOK) { in RootKeyGenerateIvAndSessionKey()
138 if (memcpy_s(cipherKey->iv, cipherKey->ivLen, result + AES_SESSION_KEY_LENGTH, in RootKeyGenerateIvAndSessionKey()
139 SHA256_MAC_LEN - AES_SESSION_KEY_LENGTH) != EOK) { in RootKeyGenerateIvAndSessionKey()
154 cipherKey->keyLen = AES_SESSION_KEY_LENGTH; in GenerateIvAndSessionKey()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_aes_encrypt.h28 #define AES_SESSION_KEY_LENGTH 16 macro