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/aidl/default/
DIdentityCredential.cpp800 optional<vector<uint8_t>> sharedSecret = in finishRetrieval() local
802 if (!sharedSecret) { in finishRetrieval()
809 vector<uint8_t> sharedSecretWithSessionTranscriptBytes = sharedSecret.value(); in finishRetrieval()
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h235 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt,
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1483 vector<uint8_t> sharedSecret; in ecdh() local
1484 sharedSecret.resize(secretLen); in ecdh()
1486 if (EVP_PKEY_derive(ctx.get(), sharedSecret.data(), &secretLen) != 1) { in ecdh()
1490 return sharedSecret; in ecdh()
1493 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt, in hkdf() argument
1497 if (HKDF(derivedKey.data(), derivedKey.size(), EVP_sha256(), sharedSecret.data(), in hkdf()
1498 sharedSecret.size(), salt.data(), salt.size(), info.data(), info.size()) != 1) { in hkdf()