Home
last modified time | relevance | path

Searched refs:HKS_HMAC_DIGEST_SHA512_LEN (Results 1 – 5 of 5) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_dsa_sign.cpp109 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()
110 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
Dhks_crypto_hal_ecdsa_sign.cpp524 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()
525 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
Dhks_crypto_hal_rsa_sign.cpp1459 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()
1460 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_lite.c116 struct HksBlob mac = { HKS_HMAC_DIGEST_SHA512_LEN, keyInfoHead->hmac }; in InitImageBuffer()
117 uint16_t size = sizeof(*keyInfoHead) - HKS_HMAC_DIGEST_SHA512_LEN; in InitImageBuffer()
198 uint8_t mac512[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in CheckKeyInfoHeaderValid()
199 struct HksBlob mac = { HKS_HMAC_DIGEST_SHA512_LEN, mac512 }; in CheckKeyInfoHeaderValid()
201 uint16_t size = sizeof(*keyInfoHead) - HKS_HMAC_DIGEST_SHA512_LEN; in CheckKeyInfoHeaderValid()
206 if (HksMemCmp(mac.data, keyInfoHead->hmac, HKS_HMAC_DIGEST_SHA512_LEN) != 0) { in CheckKeyInfoHeaderValid()
216 struct HksBlob mac = { HKS_HMAC_DIGEST_SHA512_LEN, keyInfoHead->hmac }; in RefreshKeyInfoHeaderHmac()
218 uint16_t size = sizeof(*keyInfoHead) - HKS_HMAC_DIGEST_SHA512_LEN; in RefreshKeyInfoHeaderHmac()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h636 #define HKS_HMAC_DIGEST_SHA512_LEN 64 macro
649 uint8_t hmac[HKS_HMAC_DIGEST_SHA512_LEN];