Searched refs:sdd (Results 1 – 2 of 2) sorted by relevance
/system/keymint/common/src/ |
D | keyblob.rs | 237 let (slot, sdd) = mgr.new_secret(rng, purpose)?; in new() 238 Ok((Self { mgr, slot: Some(slot) }, sdd)) in new() 272 sdd: Option<SecureDeletionData>, 277 if let Some(sdd) = sdd { 278 info.try_extend_from_slice(&sdd.into_vec()?)?; 333 let (slot_holder, sdd) = match (requires_sdd, sdd_mgr) { in encrypt() 337 let (holder, sdd) = SlotHolder::new(sdd_mgr, rng, purpose)?; in encrypt() 338 (Some(holder), Some(sdd)) in encrypt() 360 derive_kek(kdf, root_key, &key_derivation_input, characteristics.clone(), hidden, sdd)?; in encrypt() 401 let sdd = match (encrypted_keyblob.secure_deletion_slot, sdd_mgr) { in decrypt() localVariable [all …]
|
/system/keymint/common/src/keyblob/ |
D | sdd_mem.rs | 54 let mut sdd = self.get_or_create_factory_reset_secret(rng)?; in new_secret() localVariable 55 rng.fill_bytes(&mut sdd.secure_deletion_secret[..]); in new_secret() 56 self.slots[idx] = Some(sdd.clone()); in new_secret() 57 return Ok((SecureDeletionSlot(idx as u32), sdd)); in new_secret()
|