Searched refs:HmacSha256 (Results 1 – 12 of 12) sorted by relevance
/system/keymaster/km_openssl/ |
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() 49 bool HmacSha256::Sign(const Buffer& data, uint8_t* out_digest, size_t digest_len) const { in Sign() 53 bool HmacSha256::Sign(const uint8_t* data, size_t data_len, uint8_t* out_digest, in Sign() 69 bool HmacSha256::Verify(const Buffer& data, const Buffer& digest) const { in Verify() 74 bool HmacSha256::Verify(const uint8_t* data, size_t data_len, const uint8_t* digest, in Verify()
|
D | hkdf.cpp | 31 HmacSha256 prk_hmac; in GenerateKey() 60 HmacSha256 hmac; in GenerateKey()
|
D | attestation_record.cpp | 968 HmacSha256 hmac; in generate_unique_id()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | hmac.h | 25 class HmacSha256 { 27 HmacSha256(){}; in HmacSha256() function
|
/system/keymaster/include/keymaster/ |
D | remote_provisioning_context.h | 44 virtual std::optional<cppcose::HmacSha256>
|
/system/keymaster/tests/ |
D | hmac_test.cpp | 65 HmacSha256 hmac; in TEST()
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 48 using HmacSha256 = std::array<uint8_t, SHA256_DIGEST_LENGTH>; variable 49 using HmacSha256Function = std::function<ErrMsgOr<HmacSha256>(const bytevec&)>; 284 ErrMsgOr<HmacSha256> generateHmacSha256(const bytevec& key, const bytevec& data); 286 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad,
|
/system/keymaster/include/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.h | 46 std::optional<cppcose::HmacSha256>
|
/system/security/keystore2/src/fuzzers/ |
D | keystore2_unsafe_fuzzer.rs | 56 HmacSha256 { enumerator 142 FuzzCommand::HmacSha256 { key_hmac, msg } => {
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 223 ErrMsgOr<HmacSha256> generateHmacSha256(const bytevec& key, const bytevec& data) { in generateHmacSha256() 224 HmacSha256 digest; in generateHmacSha256() 237 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad, in generateCoseMac0Mac()
|
/system/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.cpp | 186 std::optional<cppcose::HmacSha256>
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 124 return [rem_prov_ctx](const cppcose::bytevec& input) -> cppcose::ErrMsgOr<cppcose::HmacSha256> { in getMacFunction() 1032 [&](const std::vector<uint8_t>& data) -> cppcose::ErrMsgOr<cppcose::HmacSha256> { in GetRootOfTrust()
|