Home
last modified time | relevance | path

Searched refs:derivedKey (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DVtsHalIdentityEndToEndTest.cpp463 optional<vector<uint8_t>> derivedKey = in TEST_P() local
465 ASSERT_TRUE(derivedKey); in TEST_P()
467 support::coseMac0(derivedKey.value(), {}, // payload in TEST_P()
493 calculatedMac = support::coseMac0(derivedKey.value(), {}, // payload in TEST_P()
519 calculatedMac = support::coseMac0(derivedKey.value(), {}, // payload in TEST_P()
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.cpp815 optional<vector<uint8_t>> derivedKey = in finishRetrieval() local
817 if (!derivedKey) { in finishRetrieval()
823 mac = support::coseMac0(derivedKey.value(), {}, // payload in finishRetrieval()
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1495 vector<uint8_t> derivedKey; in hkdf() local
1496 derivedKey.resize(size); in hkdf()
1497 if (HKDF(derivedKey.data(), derivedKey.size(), EVP_sha256(), sharedSecret.data(), in hkdf()
1502 return derivedKey; in hkdf()