Searched refs:new_secret (Results 1 – 5 of 5) sorted by relevance
/system/keymint/common/src/keyblob/ |
D | tests.rs | 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 | 47 fn new_secret( in new_secret() method
|
/system/keymint/common/src/ |
D | keyblob.rs | 198 fn new_secret( in new_secret() method 237 let (slot, sdd) = mgr.new_secret(rng, purpose)?; in new()
|
/system/keymint/tests/src/ |
D | lib.rs | 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 | 655 fn new_secret( in new_secret() method
|