Home
last modified time | relevance | path

Searched refs:hmacSha256 (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/identity/aidl/default/libeic/
DEicCbor.c35 eicOpsHmacSha256Init(&cbor->digester.hmacSha256, hmacKey, hmacKeySize); in eicCborInitHmacSha256()
48 eicOpsHmacSha256Final(&cbor->digester.hmacSha256, digest); in eicCborFinal()
59 eicOpsHmacSha256Update(&cbor->digester.hmacSha256, data, size); in eicCborAppend()
DEicCbor.h53 EicHmacSha256Ctx hmacSha256; member
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h192 optional<vector<uint8_t>> hmacSha256(const vector<uint8_t>& key, const vector<uint8_t>& data);
/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp289 TEST(IdentityCredentialSupport, hmacSha256) { in TEST() argument
297 optional<vector<uint8_t>> hmac = support::hmacSha256(key, data); in TEST()
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp804 optional<vector<uint8_t>> hmacSha256(const vector<uint8_t>& key, const vector<uint8_t>& data) { in hmacSha256() function
2176 optional<vector<uint8_t>> mac = hmacSha256(key, toBeMACed); in coseMac0()