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()
264 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyEncryptionKey() local268 &keyMetadata); in loadOrCreateAndVerifyEncryptionKey()317 ks2::KeyMetadata keyMetadata; in loadOrCreateAndVerifyAuthenticationKey() local321 &keyMetadata); in loadOrCreateAndVerifyAuthenticationKey()564 ks2::KeyMetadata keyMetadata; in TestKey() local567 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 …]
175 ks2::KeyMetadata keyMetadata; in generateKey() local179 0 /* flags */, entropy, &keyMetadata); in generateKey()