Searched refs:get_secret (Results 1 – 6 of 6) sorted by relevance
41 assert!(sdd_mgr.get_secret(slot0).unwrap() == sdd0); in test_sdd_slot_holder()47 assert!(sdd_mgr.get_secret(slot1).unwrap() == sdd1); in test_sdd_slot_holder()49 assert!(sdd_mgr.get_secret(slot0).unwrap() == sdd0); in test_sdd_slot_holder()50 assert!(sdd_mgr.get_secret(slot1).unwrap() == sdd1); in test_sdd_slot_holder()57 assert!(sdd_mgr.get_secret(SecureDeletionSlot(2)).is_err()); in test_sdd_slot_holder()64 assert!(sdd_mgr.get_secret(slot2).unwrap() == sdd2b); in test_sdd_slot_holder()
77 fn get_secret(&self, slot: SecureDeletionSlot) -> Result<SecureDeletionData, Error> { in get_secret() method
550 assert!(sdd_mgr.get_secret(slot1).unwrap() == sdd1); in test_sdd_mgr()551 assert!(sdd_mgr.get_secret(slot1).unwrap() == sdd1); in test_sdd_mgr()555 assert!(sdd_mgr.get_secret(slot2).unwrap() == sdd2); in test_sdd_mgr()560 assert!(sdd_mgr.get_secret(slot1).is_err()); in test_sdd_mgr()
226 fn get_secret(&self, slot: SecureDeletionSlot) -> Result<SecureDeletionData, Error>; in get_secret() method426 (Some(slot), Some(sdd_mgr)) => Some(sdd_mgr.get_secret(slot)?), in decrypt()
287 Opcode::GetSecret => self.get_secret(req_packet, peer_cert_chain)?, in process_inner()314 fn get_secret( in get_secret() method
701 fn get_secret( in get_secret() method