Home
last modified time | relevance | path

Searched refs:HmacSha256 (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/
Dhmac.cpp30 size_t HmacSha256::DigestLength() const { in DigestLength()
34 bool HmacSha256::Init(const Buffer& key) { in Init()
38 bool HmacSha256::Init(const uint8_t* key, size_t key_len) { in Init()
50 bool HmacSha256::Sign(const Buffer& data, uint8_t* out_digest, size_t digest_len) const { in Sign()
54 bool HmacSha256::Sign(const uint8_t* data, size_t data_len, uint8_t* out_digest, in Sign()
72 bool HmacSha256::Verify(const Buffer& data, const Buffer& digest) const { in Verify()
77 bool HmacSha256::Verify(const uint8_t* data, size_t data_len, const uint8_t* digest, in Verify()
Dhmac.h25 class HmacSha256 {
27 HmacSha256(){}; in HmacSha256() function
Dhkdf.cpp35 HmacSha256 prk_hmac; in GenerateKey()
70 HmacSha256 hmac; in GenerateKey()
Dhmac_test.cpp65 HmacSha256 hmac; in TEST()
Dandroid_keymaster_test.cpp362 TEST_P(NewKeyGeneration, HmacSha256) { in TEST_P() argument
/system/tpm/trunks/
Dhmac_authorization_delegate.cc98 std::string digest = HmacSha256(hmac_key, hmac_data); in GetCommandAuthorization()
160 std::string digest = HmacSha256(hmac_key, hmac_data); in CheckResponseAuthorization()
270 std::string key = HmacSha256(hmac_key, data); in CreateKey()
274 std::string HmacAuthorizationDelegate::HmacSha256(const std::string& key, in HmacSha256() function in trunks::HmacAuthorizationDelegate
Dhmac_authorization_delegate.h130 std::string HmacSha256(const std::string& key,