Searched refs:crypto (Results 1 - 15 of 15) sorted by relevance
/base/security/asset/services/crypto_manager/src/ |
H A D | crypto_manager.rs | 16 //! 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 D | lib.rs | 18 pub mod crypto; modules
|
/base/security/asset/services/core_service/src/operations/ |
H A D | operation_pre_query.rs | 19 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 D | operation_query.rs | 21 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 D | operation_update.rs | 19 use asset_crypto_manager::crypto::Crypto;
|
H A D | operation_add.rs | 21 use asset_crypto_manager::crypto::Crypto;
|
/base/security/asset/test/unittest/module_test/src/crypto_manager/ |
H A D | lib.rs | 20 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 D | hks_openssl_hmac_test.cpp | 73 void *crypto = nullptr; in HWTEST_F() local 74 ret = HksOpensslHmacFinal(&crypto, nullptr, nullptr); in HWTEST_F()
|
/base/request/request/common/include/ |
H A D | module_init.h | 27 #include <openssl/crypto.h>
|
/base/security/asset/services/db_key_operator/src/ |
H A D | lib.rs | 19 use asset_crypto_manager::{crypto::Crypto, secret_key::SecretKey};
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_cert_chain_validator_openssl.c | 20 #include <openssl/crypto.h>
|
H A D | x509_cert_chain_openssl.c | 19 #include <openssl/crypto.h>
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_crypto_ed25519.c | 42 #include <crypto/ecx.h>
|
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/ |
H A D | openssl_adapter.h | 33 #include <crypto/sm2.h> 34 #include <crypto/x509.h>
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
H A D | hks_verifier.c | 20 #include <openssl/crypto.h>
|
Completed in 8 milliseconds