Home
last modified time | relevance | path

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

/system/vold/
DKeymaster.cpp137 ks2::KeyMetadata keyMetadata; in generateKey() local
139 &keyMetadata); in generateKey()
143 if (keyMetadata.key.blob == std::nullopt) { in generateKey()
147 if (key) *key = std::string(keyMetadata.key.blob->begin(), keyMetadata.key.blob->end()); in generateKey()
149 zeroize_vector(keyMetadata.key.blob.value()); in generateKey()
/system/security/keystore/
Dkeystore_cli_v2.cpp253 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyEncryptionKey() local
257 &keyMetadata); in loadOrCreateAndVerifyEncryptionKey()
306 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyAuthenticationKey() local
310 &keyMetadata); in loadOrCreateAndVerifyAuthenticationKey()
553 ks2::KeyMetadata keyMetadata; in TestKey() local
556 0 /* flags */, {} /* entropy */, &keyMetadata); in TestKey()
572 PrintKeyCharacteristics(keyMetadata.authorizations); in TestKey()
573 bool hardware_backed = std::any_of(keyMetadata.authorizations.begin(), in TestKey()
574 keyMetadata.authorizations.end(), isHardwareEnforced); in TestKey()
575 if (std::any_of(keyMetadata.authorizations.begin(), keyMetadata.authorizations.end(), in TestKey()
[all …]
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp175 ks2::KeyMetadata keyMetadata; in generateKey() local
179 0 /* flags */, entropy, &keyMetadata); in generateKey()