Home
last modified time | relevance | path

Searched refs:data_buffer (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/
Dhmac_test.cpp74 Buffer data_buffer(test.data, strlen(test.data)); in TEST() local
75 EXPECT_TRUE(hmac.Verify(data_buffer, digest_buffer)); in TEST()
79 EXPECT_FALSE(hmac.Verify(data_buffer, digest_buffer)); in TEST()
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc414 unsigned char* data_buffer = StringAsOpenSSLBuffer(&mutable_data); in HmacSha512() local
415 HMAC(EVP_sha512(), key.data(), key.size(), data_buffer, data.size(), mac, in HmacSha512()
Dtpm_utility_v1.cc303 BYTE* data_buffer = StringAsTSSBuffer(&mutable_data); in SealToPCR0() local
306 data.size(), data_buffer, pcrs_handle))) { in SealToPCR0()
/system/tpm/trunks/
Dtpm_utility_impl.cc1365 TPM2B_MAX_NV_BUFFER data_buffer; in ReadNVSpace() local
1366 data_buffer.size = 0; in ReadNVSpace()
1369 &data_buffer, delegate); in ReadNVSpace()
1375 nvram_data->assign(StringFrom_TPM2B_MAX_NV_BUFFER(data_buffer)); in ReadNVSpace()