Searched refs:derivedKey (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicPresentation.c | 683 uint8_t derivedKey[32]; in eicPresentationPrepareDeviceAuthentication() local 685 sizeof(info), derivedKey, sizeof(derivedKey))) { in eicPresentationPrepareDeviceAuthentication() 690 eicCborInitHmacSha256(&ctx->cbor, NULL, 0, derivedKey, sizeof(derivedKey)); in eicPresentationPrepareDeviceAuthentication()
|
/hardware/interfaces/identity/support/src/ |
D | IdentityCredentialSupport.cpp | 1431 vector<uint8_t> derivedKey; in hkdf() local 1432 derivedKey.resize(size); in hkdf() 1433 if (HKDF(derivedKey.data(), derivedKey.size(), EVP_sha256(), sharedSecret.data(), in hkdf() 1438 return derivedKey; in hkdf() 2231 optional<vector<uint8_t>> derivedKey = support::hkdf(sharedSecret.value(), salt, info, 32); in calcEMacKey() local 2232 if (!derivedKey) { in calcEMacKey() 2236 return derivedKey.value(); in calcEMacKey()
|