Searched refs:SlotPurpose (Results 1 – 7 of 7) sorted by relevance
/system/keymint/common/src/keyblob/ |
D | tests.rs | 3 SlotPurpose, 24 SlotHolder::new(&mut sdd_mgr, &mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_slot_holder() 30 SlotHolder::new(&mut sdd_mgr, &mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_slot_holder() 41 SlotHolder::new(&mut sdd_mgr, &mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_slot_holder() 47 SlotHolder::new(&mut sdd_mgr, &mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_slot_holder() 69 let (_slot0, _sdd0) = sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_exhaustion() 70 let (slot1a, sdd1a) = sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_exhaustion() 71 assert!(sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).is_err()); in test_sdd_exhaustion() 73 let (slot1b, sdd1b) = sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_exhaustion()
|
D | sdd_mem.rs | 3 use super::{SecureDeletionData, SecureDeletionSecretManager, SecureDeletionSlot, SlotPurpose}; 50 _purpose: SlotPurpose, in new_secret() argument
|
/system/keymint/common/src/ |
D | keyblob.rs | 173 pub enum SlotPurpose { enum 201 purpose: SlotPurpose, in new_secret() argument 235 purpose: SlotPurpose, in new() argument 325 purpose: SlotPurpose, in encrypt() argument
|
/system/keymint/ta/src/ |
D | keys.rs | 242 keyblob::SlotPurpose::KeyGeneration, in generate_key() 316 keyblob::SlotPurpose::KeyImport, in import_key() 327 purpose: keyblob::SlotPurpose, in finish_keyblob_creation() argument 769 keyblob::SlotPurpose::KeyUpgrade, in upgrade_key()
|
D | rkp.rs | 172 keyblob::SlotPurpose::KeyGeneration, in generate_ecdsa_p256_keypair()
|
/system/keymint/tests/src/ |
D | lib.rs | 8 use kmr_common::{keyblob, keyblob::SlotPurpose}; 513 let (slot1, sdd1) = sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_mgr() 518 let (slot2, sdd2) = sdd_mgr.new_secret(&mut rng, SlotPurpose::KeyGeneration).unwrap(); in test_sdd_mgr()
|
/system/keymint/common/src/crypto/ |
D | traits.rs | 658 _purpose: keyblob::SlotPurpose, in new_secret() argument
|