Home
last modified time | relevance | path

Searched refs:kHashDigestSize (Results 1 – 3 of 3) sorted by relevance

/system/tpm/trunks/
Dhmac_authorization_delegate_test.cc50 EXPECT_EQ(kHashDigestSize, delegate.session_key_.size()); in TEST()
56 kHashDigestSize); in TEST()
183 EXPECT_EQ(kHashDigestSize, auth_command.hmac.size); in TEST_F()
191 auth_response.hmac.size = kHashDigestSize; in TEST_F()
193 uint8_t hmac_buffer[kHashDigestSize] = in TEST_F()
198 memcpy(auth_response.hmac.buffer, hmac_buffer, kHashDigestSize); in TEST_F()
Dhmac_authorization_delegate.h34 const size_t kHashDigestSize = 32; // 256 bits is SHA256 digest size. variable
Dhmac_authorization_delegate.cc125 if (auth_response.hmac.size != kHashDigestSize) { in CheckResponseAuthorization()
285 CHECK_EQ(digest_length, kHashDigestSize); in HmacSha256()