Lines Matching refs:kps
74 fn generate_key(legacy: &dyn IKeyMintDevice, kps: Vec<KeyParameter>) -> KeyCreationResult { in generate_key()
76 legacy.generateKey(&kps, None /* attest_key */).expect("Failed to generate key"); in generate_key()
86 let mut kps = vec![ in generate_rsa_key() localVariable
116 kps.push(KeyParameter { in generate_rsa_key()
122 kps.push(KeyParameter { in generate_rsa_key()
126 kps.push(KeyParameter { in generate_rsa_key()
131 let creation_result = generate_key(legacy, kps); in generate_rsa_key()
162 let kps = [KeyParameter { in test_import_key() localVariable
169 legacy.importKey(&kps, kf, &kd, None /* attest_key */).expect("Failed to import key"); in test_import_key()
215 let kps = vec![ in generate_aes_key() localVariable
239 let creation_result = generate_key(legacy, kps); in generate_aes_key()
250 let mut kps = vec![ in begin() localVariable
261 kps.append(&mut extras); in begin()
263 let result = legacy.begin(purpose, &blob, &kps, None); in begin()