Home
last modified time | relevance | path

Searched refs:sharedSecret (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DVtsHalIdentityEndToEndTest.cpp452 optional<vector<uint8_t>> sharedSecret = in TEST_P() local
454 ASSERT_TRUE(sharedSecret); in TEST_P()
458 vector<uint8_t> sharedSecretWithSessionTranscriptBytes = sharedSecret.value(); in TEST_P()
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h201 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt,
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1391 vector<uint8_t> sharedSecret; in ecdh() local
1392 sharedSecret.resize(secretLen); in ecdh()
1394 if (EVP_PKEY_derive(ctx.get(), sharedSecret.data(), &secretLen) != 1) { in ecdh()
1398 return sharedSecret; in ecdh()
1401 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt, in hkdf() argument
1405 if (HKDF(derivedKey.data(), derivedKey.size(), EVP_sha256(), sharedSecret.data(), in hkdf()
1406 sharedSecret.size(), salt.data(), salt.size(), info.data(), info.size()) != 1) { in hkdf()
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.cpp795 optional<vector<uint8_t>> sharedSecret = in finishRetrieval() local
797 if (!sharedSecret) { in finishRetrieval()
804 vector<uint8_t> sharedSecretWithSessionTranscriptBytes = sharedSecret.value(); in finishRetrieval()