Searched refs:digest_buffer (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/ |
D | hmac_test.cpp | 72 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/ |
D | keystore_attestation_id.cpp | 47 std::vector<uint8_t> digest_buffer(SHA256_DIGEST_LENGTH); in signature2SHA256() local 48 SHA256(sig.data().data(), sig.data().size(), digest_buffer.data()); in signature2SHA256() 49 return digest_buffer; in signature2SHA256()
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 303 auto digest_buffer = reinterpret_cast<const unsigned char*>(digest.data()); in VerifySignature() local 306 return (RSA_verify(NID_sha256, digest_buffer, digest.size(), signature_buffer, in VerifySignature()
|
/system/tpm/trunks/ |
D | trunks_client_test.cc | 1052 auto digest_buffer = reinterpret_cast<const unsigned char*>(digest.data()); in VerifyRSASignature() local 1056 return (RSA_verify(NID_sha256, digest_buffer, digest.size(), signature_buffer, in VerifyRSASignature()
|