Searched refs:HMAC_SIZE (Results 1 – 1 of 1) sorted by relevance
34 static const size_t HMAC_SIZE = 8; variable53 const AuthorizationSet& hidden, uint8_t hmac[HMAC_SIZE]) { in ComputeHmac() argument74 assert(tmp_len >= HMAC_SIZE); in ComputeHmac()75 memcpy(hmac, tmp, min(HMAC_SIZE, tmp_len)); in ComputeHmac()89 HMAC_SIZE; in SerializeIntegrityAssuredBlob()111 if (p > end || p + HMAC_SIZE > end) in DeserializeIntegrityAssuredBlob()114 uint8_t computed_hmac[HMAC_SIZE]; in DeserializeIntegrityAssuredBlob()115 keymaster_error_t error = ComputeHmac(key_blob.begin(), key_blob.key_material_size - HMAC_SIZE, in DeserializeIntegrityAssuredBlob()120 if (CRYPTO_memcmp(key_blob.end() - HMAC_SIZE, computed_hmac, HMAC_SIZE) != 0) in DeserializeIntegrityAssuredBlob()