Home
last modified time | relevance | path

Searched refs:crypto_manager (Results 1 - 8 of 8) sorted by relevance

/base/security/asset/test/unittest/module_test/src/crypto_manager/
H A Dlib.rs20 use asset_crypto_manager::{crypto::*, crypto_manager::*, secret_key::*};
132 fn crypto_manager() { in crypto_manager() functions
148 let mut crypto_manager = arc_crypto_manager.lock().unwrap(); in crypto_manager() variables
149 crypto_manager.add(crypto1).unwrap(); in crypto_manager()
150 crypto_manager.add(crypto2).unwrap(); in crypto_manager()
153 crypto_manager.find(&calling_info, &challenge1).unwrap(); in crypto_manager()
154 crypto_manager.find(&calling_info, &challenge2).unwrap(); in crypto_manager()
155 assert_eq!(ErrCode::NotFound, crypto_manager.find(&calling_info_2, &challenge2).err().unwrap().code); in crypto_manager()
157 crypto_manager.remove(&calling_info, &challenge1); in crypto_manager()
158 crypto_manager in crypto_manager()
[all...]
/base/security/asset/services/core_service/src/operations/
H A Doperation_post_query.rs19 use asset_crypto_manager::crypto_manager::CryptoManager;
40 let crypto_manager = CryptoManager::get_instance();
41 crypto_manager.lock().unwrap().remove(calling_info, challenge);
H A Doperation_pre_query.rs19 use asset_crypto_manager::{crypto::Crypto, crypto_manager::CryptoManager, secret_key::SecretKey};
82 let crypto_manager = CryptoManager::get_instance();
83 crypto_manager.lock().unwrap().add(crypto)?;
H A Doperation_query.rs21 use asset_crypto_manager::{crypto::Crypto, crypto_manager::CryptoManager};
/base/security/asset/test/unittest/module_test/src/
H A Dlib.rs16 #[path = "crypto_manager/lib.rs"]
17 mod crypto_manager; modules
/base/security/asset/services/crypto_manager/src/
H A Dlib.rs19 pub mod crypto_manager; modules
/base/security/asset/services/core_service/src/
H A Dlib.rs32 use asset_crypto_manager::crypto_manager::CryptoManager;
82 let crypto_manager = CryptoManager::get_instance(); in on_idle()
83 let max_crypto_expire_duration = crypto_manager.lock().unwrap().max_crypto_expire_duration(); in on_idle()
/base/security/asset/services/core_service/src/common_event/
H A Dlistener.rs29 use asset_crypto_manager::{crypto_manager::CryptoManager, secret_key::SecretKey};
131 let crypto_manager = CryptoManager::get_instance(); in clear_cryptos()
132 crypto_manager.lock().unwrap().remove_by_calling_info(calling_info); in clear_cryptos()
203 let crypto_manager = CryptoManager::get_instance(); in delete_crypto_need_unlock()
204 crypto_manager.lock().unwrap().remove_need_device_unlocked(); in delete_crypto_need_unlock()

Completed in 3 milliseconds