Home
last modified time | relevance | path

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

/system/vold/
DKeystore.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.cpp264 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyEncryptionKey() local
268 &keyMetadata); in loadOrCreateAndVerifyEncryptionKey()
317 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyAuthenticationKey() local
321 &keyMetadata); in loadOrCreateAndVerifyAuthenticationKey()
564 ks2::KeyMetadata keyMetadata; in TestKey() local
567 0 /* flags */, {} /* entropy */, &keyMetadata); in TestKey()
583 PrintKeyCharacteristics(keyMetadata.authorizations); in TestKey()
584 bool hardware_backed = std::any_of(keyMetadata.authorizations.begin(), in TestKey()
585 keyMetadata.authorizations.end(), isHardwareEnforced); in TestKey()
586 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()