Home
last modified time | relevance | path

Searched refs:cryptos (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/asset/services/crypto_manager/src/
H A Dcrypto_manager.rs32 cryptos: Vec<Crypto>, field
37 Self { cryptos: vec![] } in new()
49 if self.cryptos.len() >= CRYPTO_CAPACITY { in add()
52 self.cryptos.push(crypto); in add()
60 for crypto in self.cryptos.iter() { in find()
70 …self.cryptos.retain(|crypto| crypto.calling_info() != calling_info || !crypto.challenge().eq(chall… in remove()
75 self.cryptos.retain(|crypto| crypto.calling_info() != calling_info); in remove_by_calling_info()
80 self.cryptos.retain(|crypto| !crypto.key().need_device_unlock()); in remove_need_device_unlocked()
87 for crypto in &self.cryptos { in max_crypto_expire_duration()
94 …self.cryptos.retain(|crypto| crypto.start_time().elapsed().as_secs() <= crypto.valid_time() as u64… in remove_expired_crypto()