Home
last modified time | relevance | path

Searched refs:digest_buffer (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/tests/
Dhmac_test.cpp72 Buffer digest_buffer(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST() local
75 EXPECT_TRUE(hmac.Verify(data_buffer, digest_buffer)); in TEST()
78 digest_buffer.Reinitialize(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST()
79 EXPECT_FALSE(hmac.Verify(data_buffer, digest_buffer)); in TEST()
/system/security/keystore/
Dkeystore_attestation_id.cpp54 std::vector<uint8_t> digest_buffer(SHA256_DIGEST_LENGTH); in signature2SHA256() local
55 SHA256(sig.data().data(), sig.data().size(), digest_buffer.data()); in signature2SHA256()
56 return digest_buffer; in signature2SHA256()