Searched refs:keyMetadata (Results 1 – 3 of 3) sorted by relevance
137 ks2::KeyMetadata keyMetadata; in generateKey() local139 &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()
253 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyEncryptionKey() local257 &keyMetadata); in loadOrCreateAndVerifyEncryptionKey()306 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyAuthenticationKey() local310 &keyMetadata); in loadOrCreateAndVerifyAuthenticationKey()553 ks2::KeyMetadata keyMetadata; in TestKey() local556 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 …]
175 ks2::KeyMetadata keyMetadata; in generateKey() local179 0 /* flags */, entropy, &keyMetadata); in generateKey()