Searched refs:HKS_HMAC_DIGEST_SHA512_LEN (Results 1 – 5 of 5) sorted by relevance
109 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()110 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
524 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()525 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
1459 uint8_t hashData[HKS_HMAC_DIGEST_SHA512_LEN] = {0}; in RunTestCase()1460 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase()
116 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()
636 #define HKS_HMAC_DIGEST_SHA512_LEN 64 macro649 uint8_t hmac[HKS_HMAC_DIGEST_SHA512_LEN];