| /third_party/openssl/apps/ |
| H A D | mac.c | 90 char *digest = NULL, *cipher = NULL; in mac_main() local
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| H A D | ptksa_cache.c | 228 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush() argument 132 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) ptksa_cache_get() argument 267 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, u32 life_time, const struct wpa_ptk *ptk) ptksa_cache_add() argument [all...] |
| /base/security/asset/services/crypto_manager/src/ |
| H A D | huks_wrapper.c | 255 struct HksBlob cipher = { inData->size - NONCE_SIZE - TAG_SIZE, inData->data }; in DecryptData() local 342 struct HksBlob cipher = { inData->size - NONCE_SIZE - TAG_SIZE, inData->data }; in ExecCrypt() local
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| H A D | cipher.c | 54 static void SetKeyType(HcfAlgParaValue value, void *cipher) in SetKeyType() argument 82 static void SetKeyLength(HcfAlgParaValue value, void *cipher) in SetKeyLength() argument 118 static void SetMode(HcfAlgParaValue value, void *cipher) in SetMode() argument 124 static void SetPadding(HcfAlgParaValue value, void *cipher) in SetPadding() argument 130 static void SetDigest(HcfAlgParaValue value, CipherAttr *cipher) in SetDigest() argument 135 SetMgf1Digest(HcfAlgParaValue value, CipherAttr *cipher) SetMgf1Digest() argument 140 OnSetParameter(const HcfParaConfig *config, void *cipher) OnSetParameter() argument 318 InitCipher(HcfCipherGeneratorSpi *spiObj, CipherGenImpl *cipher) InitCipher() argument [all...] |
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| H A D | aes_common.cpp | 148 int32_t AesMultiBlockEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockEncrypt() argument 202 int32_t AesMultiBlockDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockDecrypt() argument 257 AesEncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, uint8_t *cipherText, int *cipherTextLen) AesEncryptWithInput() argument 300 AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int *cipherTextLen) AesEncrypt() argument 345 AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int cipherTextLen) AesDecrypt() argument 393 AesNoUpdateEncWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, uint8_t *cipherText, int *cipherTextLen) AesNoUpdateEncWithInput() argument 424 AesDecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int cipherTextLen) AesDecryptEmptyMsg() argument 449 AesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int *cipherTextLen) AesNoUpdateEncrypt() argument 481 AesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int cipherTextLen) AesNoUpdateDecrypt() argument [all...] |
| /base/security/crypto_framework/test/unittest/src/ |
| H A D | crypto_rsa_cipher_sub_test.cpp | 175 HcfCipher *cipher = nullptr; in HWTEST_F() local 214 HcfCipher *cipher = nullptr; HWTEST_F() local 244 HcfCipher *cipher = nullptr; HWTEST_F() local 274 HcfCipher *cipher = nullptr; HWTEST_F() local 304 HcfCipher *cipher = nullptr; HWTEST_F() local 333 HcfCipher *cipher = nullptr; HWTEST_F() local 362 HcfCipher *cipher = nullptr; HWTEST_F() local 391 HcfCipher *cipher = nullptr; HWTEST_F() local 406 HcfCipher *cipher = nullptr; HWTEST_F() local 417 HcfCipher *cipher = nullptr; HWTEST_F() local [all...] |
| /base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/ |
| H A D | sts_client.c | 410 struct uint8_buff cipher = { receive->auth_return.auth_return, in parse_end_response_data() local
|
| /base/security/huks/frameworks/crypto_lite/cipher/src/ |
| H A D | cipher_rsa.c | 322 static int32_t RsaEncrypt(RsaKeyData *key, const RsaData *plain, RsaData *cipher) in RsaEncrypt() argument 367 static int32_t CheckParamAndMallocBuf(size_t rsaLen, const RsaData *cipher, unsigned char **buf, unsigned char **tembuf) in CheckParamAndMallocBuf() argument 385 RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *plain) RsaPkcs1Decrypt() argument 440 RsaDecrypt(RsaKeyData *key, RsaData *cipher, RsaData *plain) RsaDecrypt() argument [all...] |
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
| H A D | hks_aes_cipher_part3_test.cpp | 1052 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HWTEST_F() local
|
| H A D | hks_aes_cipher_test_common.cpp | 175 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local 207 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm2() local 265 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm3() local 351 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm4() local [all...] |
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
| H A D | hks_change_storage_level_part1_test.cpp | 279 uint8_t cipher[AES_COMMON_SIZE] = { 0 }; in HWTEST_F() local
|
| H A D | hks_cross_test.cpp | 79 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local 122 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local 169 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local 217 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
| H A D | hks_sm2_cipher_test.cpp | 490 uint8_t cipher[SM2_COMMON_SIZE] = {0}; in HWTEST_F() local 514 uint8_t cipher[SM2_COMMON_SIZE] = {0}; in HWTEST_F() local 556 uint8_t cipher[SM2_COMMON_SIZE] = {0}; in HWTEST_F() local 576 uint8_t cipher[SM2_COMMON_SIZE] = {0}; HWTEST_F() local 659 uint8_t cipher[SM2_COMMON_SIZE] = {0}; HksSm2CipherTestRunByNdk() local [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
| H A D | param_check_utils.cpp | 101 bool ParamCheckUtils::CheckEncryptedParameter(CipherType cipher, const CipherPassword &passwd) in CheckEncryptedParameter() argument
|
| /foundation/communication/dsoftbus/adapter/common/openssl/ |
| H A D | softbus_aes_encrypt.c | 283 EVP_CIPHER *cipher = GetSslGcmAlgorithmByKeyLen(keyLen); in GcmOpensslEvpInit() local
|
| /kernel/linux/linux-5.10/crypto/ |
| H A D | pcrypt.c | 181 struct crypto_aead *cipher; in pcrypt_aead_init_tfm() local
|
| H A D | lrw.c | 270 struct crypto_skcipher *cipher; in lrw_init_tfm() local
|
| H A D | cts.c | 288 struct crypto_skcipher *cipher; in crypto_cts_init_tfm() local
|
| H A D | ctr.c | 101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local 222 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_skcipher.c | 41 const struct nitrox_cipher *cipher = flexi_cipher_table; in flexi_cipher_type() local 83 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_cbc_cipher_callback() local 165 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, in nitrox_skcipher_setkey() argument 197 nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) nitrox_aes_setkey() argument 249 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); nitrox_skcipher_crypt() local 293 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); nitrox_cbc_decrypt() local 320 nitrox_3des_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) nitrox_3des_setkey() argument 337 nitrox_aes_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) nitrox_aes_xts_setkey() argument 362 nitrox_aes_ctr_rfc3686_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) nitrox_aes_ctr_rfc3686_setkey() argument [all...] |
| /kernel/linux/linux-5.10/arch/arm64/crypto/ |
| H A D | Makefile | |
| /kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.c | 232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_xts_setkey() argument 289 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_setkey() argument 304 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey() argument 310 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey() argument 316 static int cvm_cfb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey() argument 322 cvm_cbc_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, u32 keylen) cvm_cbc_des3_setkey() argument 329 cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, u32 keylen) cvm_ecb_des3_setkey() argument [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 85 static int rk_aes_setkey(struct crypto_skcipher *cipher, in rk_aes_setkey() argument 100 static int rk_des_setkey(struct crypto_skcipher *cipher, in rk_des_setkey() argument 116 static int rk_tdes_setkey(struct crypto_skcipher *cipher, in rk_tdes_setkey() argument 267 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in rk_ablk_hw_init() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
| H A D | key.c | 405 ath_reserve_key_cache_slot(struct ath_common *common, u32 cipher) ath_reserve_key_cache_slot() argument [all...] |
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-responder.c | 73 u8 cipher; member 319 iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr, u32 cipher, u8 *tk, u32 tk_len, u8 *hltk, u32 hltk_len) iwl_mvm_ftm_respoder_add_pasn_sta() argument [all...] |