| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_rsa_cipher_test.cpp | 45 HcfCipher *cipher = NULL; variable 63 HcfCipher *cipher = NULL; variable 78 HcfCipher *cipher = NULL; variable 93 HcfCipher *cipher = NULL; variable 108 HcfCipher *cipher = NULL; variable 123 HcfCipher *cipher = NULL; variable 138 HcfCipher *cipher = NULL; variable 153 HcfCipher *cipher = NULL; variable 168 HcfCipher *cipher = NULL; variable 183 HcfCipher *cipher = NULL; variable [all …]
|
| D | crypto_3des_cipher_test.cpp | 73 static int32_t DesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesEncrypt() 116 static int32_t DesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesDecrypt() 163 static int32_t DesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesNoUpdateEncrypt() 193 static int32_t DesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesNoUpdateDecrypt() 234 HcfCipher *cipher = NULL; variable 281 HcfCipher *cipher = NULL; variable 329 HcfCipher *cipher = NULL; variable 377 HcfCipher *cipher = NULL; variable 428 HcfCipher *cipher = NULL; variable 478 HcfCipher *cipher = NULL; variable [all …]
|
| D | crypto_aes_cipher_test.cpp | 182 static int32_t AesMultiBlockEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockEncrypt() 236 static int32_t AesMultiBlockDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockDecrypt() 290 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt() 335 static int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecrypt() 383 static int32_t AesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateEncrypt() 415 static int32_t AesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateDecrypt() 463 HcfCipher *cipher = NULL; variable 515 HcfCipher *cipher = NULL; variable 560 HcfCipher *cipher = NULL; variable 608 HcfCipher *cipher = NULL; variable [all …]
|
| /base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
| D | hcfciphercreate_fuzzer.cpp | 33 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt() 72 static int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecrypt() 121 HcfCipher *cipher = nullptr; in TestAesCipher() local 164 HcfCipher *cipher = nullptr; in TestRsaCipher() local 200 HcfCipher *cipher = nullptr; in HcfCipherCreateFuzzTest() local
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | cipher.c | 51 static void SetKeyLength(HCF_ALG_PARA_VALUE value, void *cipher) in SetKeyLength() 81 static void SetMode(HCF_ALG_PARA_VALUE value, void *cipher) in SetMode() 87 static void SetPadding(HCF_ALG_PARA_VALUE value, void *cipher) in SetPadding() 93 static void SetDigest(HCF_ALG_PARA_VALUE value, CipherAttr *cipher) in SetDigest() 98 static void SetMgf1Digest(HCF_ALG_PARA_VALUE value, CipherAttr *cipher) in SetMgf1Digest() 103 static HcfResult OnSetParameter(const HcfParaConfig *config, void *cipher) in OnSetParameter() 209 static void InitCipher(HcfCipherGeneratorSpi *spiObj, CipherGenImpl *cipher) in InitCipher()
|
| /base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
| D | standard_exchange_message_util.c | 25 int32_t PackageNonceAndCipherToJson(const Uint8Buff *nonce, const Uint8Buff *cipher, CJson *data, c… in PackageNonceAndCipherToJson() 52 int32_t ParseNonceAndCipherFromJson(Uint8Buff *nonce, Uint8Buff *cipher, const CJson *in, const cha… in ParseNonceAndCipherFromJson()
|
| /base/security/huks/frameworks/crypto_lite/cipher/src/ |
| D | cipher_rsa.c | 320 static int32_t RsaEncrypt(RsaKeyData *key, const RsaData *plain, RsaData *cipher) in RsaEncrypt() 365 static int32_t CheckParamAndMallocBuf(size_t rsaLen, const RsaData *cipher, unsigned char **buf, un… in CheckParamAndMallocBuf() 383 static int32_t RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *p… in RsaPkcs1Decrypt() 438 static int32_t RsaDecrypt(RsaKeyData *key, RsaData *cipher, RsaData *plain) in RsaDecrypt()
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_cipher.cpp | 41 HcfCipher *cipher = nullptr; member 312 HcfCipher *cipher = context->cipher; in AsyncInitProcess() local 333 HcfCipher *cipher = context->cipher; in AsyncUpdateProcess() local 350 HcfCipher *cipher = context->cipher; in AsyncDoFinalProcess() local 497 NapiCipher::NapiCipher(HcfCipher *cipher) in NapiCipher() 575 HcfCipher *cipher = napiCipher->GetCipher(); in JsGetAlgorithm() local 623 HcfCipher *cipher = nullptr; in CreateCipher() local
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
| D | hks_rsa_cipher_test_common.cpp | 130 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local 166 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCaseAbnormal() local
|
| D | hks_aes_cipher_test_common.cpp | 129 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local 161 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm2() local
|
| D | hks_sm4_cipher_test_common.cpp | 89 uint8_t cipher[SM4_COMMON_SIZE] = {0}; in HksSm4CipherTestCaseOther() local
|
| D | hks_cross_test.cpp | 75 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; variable 118 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; variable 165 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; variable 213 uint8_t cipher[CROSS_COMMON_SIZE] = {0}; variable
|
| D | hks_rsa_cipher_part5_test.cpp | 340 uint8_t cipher[RSA_COMMON_SIZE] = {0}; variable
|
| D | hks_aes_cipher_part3_test.cpp | 1068 uint8_t cipher[AES_COMMON_SIZE] = {0}; variable
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/ |
| D | auth_info.h | 27 struct uint8_buff cipher; member
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
| D | huks_adapter.c | 550 const struct uint8_buff *cipher, struct aes_aad *aad, uint32_t key_byte_size) in init_aes_gcm_decrypt_param_set() 583 int32_t aes_gcm_decrypt(struct var_buffer *key, const struct uint8_buff *cipher, in aes_gcm_decrypt() 1664 const struct uint8_buff *cipher, const struct aes_aad *aad) in init_aes_ccm_decrypt_key_params() 1707 int32_t aes_ccm_decrypt(struct var_buffer *key, const struct uint8_buff *cipher, in aes_ccm_decrypt()
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
| D | huks_adapter.c | 367 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam() 387 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_aes.c | 97 const EVP_CIPHER *cipher = getCipherType(key->size, usageSpec->mode); in OpensslBlockCipherCryptInit() local 691 const EVP_CIPHER *cipher = GetAesCipherType(key->size, usageSpec->mode); in OpensslAesCipherInit() local
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/ |
| D | sts_client.c | 410 struct uint8_buff cipher = { receive->auth_return.auth_return, in parse_end_response_data() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
| D | huks_adapter.c | 336 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam() 356 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
| D | huks_adapter.c | 348 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam() 368 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()
|