Home
last modified time | relevance | path

Searched refs:crypto (Results 1 - 15 of 15) sorted by relevance

/base/security/asset/services/crypto_manager/src/
H A Dcrypto_manager.rs16 //! This module is used to manage crypto in cache.
26 use crate::crypto::Crypto;
30 /// Manages the crypto that required user authentication.
46 /// Add the crypto to manager.
47 pub fn add(&mut self, crypto: Crypto) -> Result<()> { in add()
52 self.cryptos.push(crypto); in add()
57 /// Find the crypto with the specified alias and challenge slice from manager.
60 for crypto in self.cryptos.iter() { in find()
61 if crypto.challenge().eq(challenge) && crypto in find()
[all...]
H A Dlib.rs18 pub mod crypto; modules
/base/security/asset/services/core_service/src/operations/
H A Doperation_pre_query.rs19 use asset_crypto_manager::{crypto::Crypto, crypto_manager::CryptoManager, secret_key::SecretKey};
80 let mut crypto = Crypto::build(secret_key, calling_info.clone(), valid_time)?; variables
81 let challenge = crypto.init_key()?.to_vec();
83 crypto_manager.lock().unwrap().add(crypto)?;
H A Doperation_query.rs21 use asset_crypto_manager::{crypto::Crypto, crypto_manager::CryptoManager};
79 Ok(crypto) => { in exec_crypto()
80 let secret = crypto.exec_crypt(secret, &common::build_aad(db_data)?, auth_token)?; in exec_crypto()
H A Doperation_update.rs19 use asset_crypto_manager::crypto::Crypto;
H A Doperation_add.rs21 use asset_crypto_manager::crypto::Crypto;
/base/security/asset/test/unittest/module_test/src/crypto_manager/
H A Dlib.rs20 use asset_crypto_manager::{crypto::*, crypto_manager::*, secret_key::*};
107 let mut crypto = Crypto::build(secret_key.clone(), calling_info, 600).unwrap(); in crypto_init() variables
108 crypto.init_key().unwrap(); in crypto_init()
123 let mut crypto = Crypto::build(secret_key.clone(), calling_info, 600).unwrap(); in crypto_exec() variables
124 crypto.init_key().unwrap(); in crypto_exec()
127 assert!(crypto.exec_crypt(&cipher, &aad, &authtoken).is_err()); in crypto_exec()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
H A Dhks_openssl_hmac_test.cpp73 void *crypto = nullptr; in HWTEST_F() local
74 ret = HksOpensslHmacFinal(&crypto, nullptr, nullptr); in HWTEST_F()
/base/request/request/common/include/
H A Dmodule_init.h27 #include <openssl/crypto.h>
/base/security/asset/services/db_key_operator/src/
H A Dlib.rs19 use asset_crypto_manager::{crypto::Crypto, secret_key::SecretKey};
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_validator_openssl.c20 #include <openssl/crypto.h>
H A Dx509_cert_chain_openssl.c19 #include <openssl/crypto.h>
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_crypto_ed25519.c42 #include <crypto/ecx.h>
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_adapter.h33 #include <crypto/sm2.h>
34 #include <crypto/x509.h>
/base/security/huks/frameworks/huks_standard/main/core/src/
H A Dhks_verifier.c20 #include <openssl/crypto.h>

Completed in 8 milliseconds