Home
last modified time | relevance | path

Searched refs:key_parameters (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs65 key_parameters: Vec<KsKeyparameter>, field
252 key_parameters: key_params, in keystore2_encrypted_characteristics()
305 for gen_param in &gen_key_result.key_parameters { in keystore2_encrypted_characteristics()
321 gen_key_result.key_parameters.retain(|in_element| { in keystore2_encrypted_characteristics()
327 println!("Generated key params: {:#?}", gen_key_result.key_parameters); in keystore2_encrypted_characteristics()
329 gen_key_result.key_parameters.append(&mut legacy_file_key_params); in keystore2_encrypted_characteristics()
331 println!("Combined key params: {:#?}", gen_key_result.key_parameters); in keystore2_encrypted_characteristics()
335 gen_key_result.key_parameters.retain(|in_element| *in_element != *param); in keystore2_encrypted_characteristics()
340 gen_key_result.key_parameters in keystore2_encrypted_characteristics()
342 assert_eq!(gen_key_result.key_parameters.len(), 0); in keystore2_encrypted_characteristics()
[all …]
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp151 keymint::AuthorizationSetBuilder key_parameters; in generateKey() local
153 key_parameters.EcdsaSigningKey(keymint::EcCurve::P_256); in generateKey()
157 key_parameters.AesEncryptionKey(kAESKeySize); in generateKey()
160 key_parameters.NoDigestOrPadding() in generateKey()
178 {} /* attestation key */, key_parameters.vector_data(), in generateKey()
/system/security/keystore2/src/
Draw_device.rs118 let key_parameters = key_characteristics_to_internal(creation_result.keyCharacteristics); in create_and_store_key() localVariable
130 &key_parameters, in create_and_store_key()
Dsecurity_level.rs152 let mut key_parameters = key_characteristics_to_internal(key_characteristics); in store_new_key() localVariable
154 key_parameters.push(KsKeyParam::new( in store_new_key()
178 &key_parameters, in store_new_key()
193 &key_parameters, in store_new_key()
214 authorizations: crate::utils::key_parameters_to_authorizations(key_parameters), in store_new_key()
Denforcements.rs785 key_parameters: &[KeyParameter], in super_encryption_required()
799 for kp in key_parameters { in super_encryption_required()
Dsuper_key.rs669 key_parameters: &[KeyParameter], in handle_super_encryption_on_key_init()
674 match Enforcements::super_encryption_required(domain, key_parameters, flags) { in handle_super_encryption_on_key_init()
Dlegacy_blob.rs1255 let key_parameters = self in load_by_uid_alias() localVariable
1258 Some((km_blob, key_parameters)) in load_by_uid_alias()