Searched refs:hmac_key_ (Results 1 – 2 of 2) sorted by relevance
/trusty/user/app/keymaster/ |
D | openssl_keymaster_enforcement.cpp | 190 if (!hmac_key_.Reset(SHA256_DIGEST_LENGTH)) in ComputeSharedHmac() 197 &hmac_key_); in ComputeSharedHmac() 205 return hmacSha256(hmac_key_, data_chunks, 1, sharingCheck); in ComputeSharedHmac() 226 response.error = hmacSha256(hmac_key_, data_chunks, 5, &response.token.mac); in VerifyAuthorization() 269 auto error = hmacSha256(hmac_key_, data_chunks, 1, &mac); in ComputeHmac() 288 if (hmac_key_.key_material_size != SHA256_DIGEST_LENGTH) { in GetHmacKey() 292 memcpy((void*)key->key_material, hmac_key_.key_material, in GetHmacKey() 293 hmac_key_.key_material_size); in GetHmacKey() 294 key->key_material_size = hmac_key_.key_material_size; in GetHmacKey()
|
D | openssl_keymaster_enforcement.h | 63 KeymasterKeyBlob hmac_key_; variable
|