Searched refs:HmacSha256 (Results 1 – 7 of 7) sorted by relevance
/system/keymaster/ |
D | hmac.cpp | 30 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()
|
D | hmac.h | 25 class HmacSha256 { 27 HmacSha256(){}; in HmacSha256() function
|
D | hkdf.cpp | 35 HmacSha256 prk_hmac; in GenerateKey() 70 HmacSha256 hmac; in GenerateKey()
|
D | hmac_test.cpp | 65 HmacSha256 hmac; in TEST()
|
D | android_keymaster_test.cpp | 362 TEST_P(NewKeyGeneration, HmacSha256) { in TEST_P() argument
|
/system/tpm/trunks/ |
D | hmac_authorization_delegate.cc | 98 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
|
D | hmac_authorization_delegate.h | 130 std::string HmacSha256(const std::string& key,
|