| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_sm2_cipher_test.cpp | 80 HcfCipher *cipher = nullptr; variable 104 HcfCipher *cipher = nullptr; variable 113 HcfCipher *cipher = nullptr; variable 123 HcfCipher *cipher = nullptr; variable 132 HcfCipher *cipher = nullptr; variable 148 HcfCipher *cipher = nullptr; variable 169 HcfCipher *cipher = nullptr; variable 190 HcfCipher *cipher = nullptr; variable 212 HcfCipher *cipher = nullptr; variable 233 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_rsa_cipher_test.cpp | 149 static HcfResult RsaCipherSpec(HcfCipher *cipher) in RsaCipherSpec() 182 static HcfResult RsaSpecpSource(HcfCipher *cipher, uint8_t *pSourceData, HcfBlob pSource) in RsaSpecpSource() 214 HcfCipher *cipher = nullptr; variable 232 HcfCipher *cipher = nullptr; variable 247 HcfCipher *cipher = nullptr; variable 262 HcfCipher *cipher = nullptr; variable 277 HcfCipher *cipher = nullptr; variable 292 HcfCipher *cipher = nullptr; variable 307 HcfCipher *cipher = nullptr; variable 322 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_sm4_cipher_test.cpp | 53 HcfCipher *cipher = nullptr; variable 101 HcfCipher *cipher = nullptr; variable 148 HcfCipher *cipher = nullptr; variable 194 HcfCipher *cipher = nullptr; variable 243 HcfCipher *cipher = nullptr; variable 289 HcfCipher *cipher = nullptr; variable 337 HcfCipher *cipher = nullptr; variable 385 HcfCipher *cipher = nullptr; variable 432 HcfCipher *cipher = nullptr; variable 479 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_sm4_ecb_cipher_test.cpp | 53 HcfCipher *cipher = nullptr; variable 100 HcfCipher *cipher = nullptr; variable 148 HcfCipher *cipher = nullptr; variable 195 HcfCipher *cipher = nullptr; variable 242 HcfCipher *cipher = nullptr; variable 290 HcfCipher *cipher = nullptr; variable 333 HcfCipher *cipher = nullptr; variable 362 HcfCipher *cipher = nullptr; variable 391 HcfCipher *cipher = nullptr; variable 431 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_sm4_cfb_cipher_test.cpp | 53 HcfCipher *cipher = nullptr; variable 101 HcfCipher *cipher = nullptr; variable 149 HcfCipher *cipher = nullptr; variable 197 HcfCipher *cipher = nullptr; variable 245 HcfCipher *cipher = nullptr; variable 293 HcfCipher *cipher = nullptr; variable 341 HcfCipher *cipher = nullptr; variable 388 HcfCipher *cipher = nullptr; variable 436 HcfCipher *cipher = nullptr; variable 484 HcfCipher *cipher = nullptr; 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 = nullptr; variable 281 HcfCipher *cipher = nullptr; variable 329 HcfCipher *cipher = nullptr; variable 377 HcfCipher *cipher = nullptr; variable 428 HcfCipher *cipher = nullptr; variable 478 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_sm4_gcm_cipher_test.cpp | 56 HcfCipher *cipher = nullptr; variable 110 HcfCipher *cipher = nullptr; variable 164 HcfCipher *cipher = nullptr; variable 218 HcfCipher *cipher = nullptr; variable 272 HcfCipher *cipher = nullptr; variable 326 HcfCipher *cipher = nullptr; variable 374 HcfCipher *cipher = nullptr; variable 388 HcfCipher *cipher = nullptr; variable 405 HcfCipher *cipher = nullptr; variable 448 HcfCipher *cipher = nullptr; variable [all …]
|
| D | sm4_common.cpp | 73 int32_t Sm4EncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4EncryptWithInput() 116 int32_t Sm4DecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4DecryptEmptyMsg() 142 int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4Encrypt() 185 int32_t Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4Decrypt() 232 int32_t Sm4NoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4NoUpdateEncrypt() 262 int32_t Sm4NoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4NoUpdateDecrypt()
|
| D | crypto_rsa_cipher_sub_test.cpp | 175 HcfCipher *cipher = nullptr; variable 214 HcfCipher *cipher = nullptr; variable 244 HcfCipher *cipher = nullptr; variable 274 HcfCipher *cipher = nullptr; variable 304 HcfCipher *cipher = nullptr; variable 333 HcfCipher *cipher = nullptr; variable 362 HcfCipher *cipher = nullptr; variable 391 HcfCipher *cipher = nullptr; variable 406 HcfCipher *cipher = nullptr; variable 417 HcfCipher *cipher = nullptr; variable
|
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| D | crypto_aes_ecb_cipher_test.cpp | 58 HcfCipher *cipher = nullptr; variable 110 HcfCipher *cipher = nullptr; variable 155 HcfCipher *cipher = nullptr; variable 200 HcfCipher *cipher = nullptr; variable 250 HcfCipher *cipher = nullptr; variable 296 HcfCipher *cipher = nullptr; variable 341 HcfCipher *cipher = nullptr; variable 386 HcfCipher *cipher = nullptr; variable 432 HcfCipher *cipher = nullptr; variable 480 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_aes_cfb_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 105 HcfCipher *cipher = nullptr; variable 156 HcfCipher *cipher = nullptr; variable 208 HcfCipher *cipher = nullptr; variable 259 HcfCipher *cipher = nullptr; variable 310 HcfCipher *cipher = nullptr; variable 360 HcfCipher *cipher = nullptr; variable 410 HcfCipher *cipher = nullptr; variable 460 HcfCipher *cipher = nullptr; variable 510 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_aes_gcm_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 108 HcfCipher *cipher = nullptr; variable 162 HcfCipher *cipher = nullptr; variable 216 HcfCipher *cipher = nullptr; variable 270 HcfCipher *cipher = nullptr; variable 324 HcfCipher *cipher = nullptr; variable 378 HcfCipher *cipher = nullptr; variable 431 HcfCipher *cipher = nullptr; variable 478 HcfCipher *cipher = nullptr; variable 492 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_aes_ccm_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 107 HcfCipher *cipher = nullptr; variable 160 HcfCipher *cipher = nullptr; variable 213 HcfCipher *cipher = nullptr; variable 266 HcfCipher *cipher = nullptr; variable 320 HcfCipher *cipher = nullptr; variable 373 HcfCipher *cipher = nullptr; variable 425 HcfCipher *cipher = nullptr; variable 474 HcfCipher *cipher = nullptr; variable 509 HcfCipher *cipher = nullptr; variable [all …]
|
| D | crypto_aes_cbc_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 105 HcfCipher *cipher = nullptr; variable 156 HcfCipher *cipher = nullptr; variable 207 HcfCipher *cipher = nullptr; variable 258 HcfCipher *cipher = nullptr; variable 309 HcfCipher *cipher = nullptr; variable 359 HcfCipher *cipher = nullptr; variable 411 HcfCipher *cipher = nullptr; variable 453 HcfCipher *cipher = nullptr; variable
|
| D | crypto_aes_ofb_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 105 HcfCipher *cipher = nullptr; variable 156 HcfCipher *cipher = nullptr; variable 206 HcfCipher *cipher = nullptr; variable 257 HcfCipher *cipher = nullptr; variable 308 HcfCipher *cipher = nullptr; variable 355 HcfCipher *cipher = nullptr; variable 408 HcfCipher *cipher = nullptr; variable 450 HcfCipher *cipher = nullptr; variable
|
| D | crypto_aes_ctr_cipher_test.cpp | 54 HcfCipher *cipher = nullptr; variable 105 HcfCipher *cipher = nullptr; variable 156 HcfCipher *cipher = nullptr; variable 207 HcfCipher *cipher = nullptr; variable 258 HcfCipher *cipher = nullptr; variable 309 HcfCipher *cipher = nullptr; variable 357 HcfCipher *cipher = nullptr; variable 410 HcfCipher *cipher = nullptr; variable 452 HcfCipher *cipher = nullptr; variable
|
| D | aes_common.cpp | 148 int32_t AesMultiBlockEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockEncrypt() 202 int32_t AesMultiBlockDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockDecrypt() 257 int32_t AesEncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncryptWithInput() 300 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt() 345 int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecrypt() 393 int32_t AesNoUpdateEncWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesNoUpdateEncWithInput() 424 int32_t AesDecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecryptEmptyMsg() 449 int32_t AesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateEncrypt() 481 int32_t AesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateDecrypt()
|
| /base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
| D | hcfciphercreate_fuzzer.cpp | 33 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncrypt() 75 …static int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, uint8_t *cipherText, … in AesDecrypt() 126 static int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Encrypt() 169 static int32_t Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Decrypt() 235 HcfCipher *cipher = nullptr; in TestAesCipher() local 267 HcfCipher *cipher = nullptr; in TestSm4Cipher() local 311 HcfCipher *cipher = nullptr; in TestSm4GcmCipher() local 353 HcfCipher *cipher = nullptr; in TestRsaCipher() local 389 HcfCipher *cipher = nullptr; in HcfCipherCreateFuzzTest() local
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
| D | hks_3des_cipher_part1_test.cpp | 457 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 502 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 547 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 592 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 658 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 692 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 726 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable 760 uint8_t cipher[DES3_COMMON_SIZE] = { 0 }; variable
|
| D | hks_des_cipher_part1_test.cpp | 347 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable 392 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable 458 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable 492 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable 526 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable 560 uint8_t cipher[DES_COMMON_SIZE] = { 0 }; variable
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | cipher.c | 54 static void SetKeyType(HcfAlgParaValue value, void *cipher) in SetKeyType() 82 static void SetKeyLength(HcfAlgParaValue value, void *cipher) in SetKeyLength() 118 static void SetMode(HcfAlgParaValue value, void *cipher) in SetMode() 124 static void SetPadding(HcfAlgParaValue value, void *cipher) in SetPadding() 130 static void SetDigest(HcfAlgParaValue value, CipherAttr *cipher) in SetDigest() 135 static void SetMgf1Digest(HcfAlgParaValue value, CipherAttr *cipher) in SetMgf1Digest() 140 static HcfResult OnSetParameter(const HcfParaConfig *config, void *cipher) in OnSetParameter() 318 static void InitCipher(HcfCipherGeneratorSpi *spiObj, CipherGenImpl *cipher) in InitCipher()
|
| /base/security/crypto_framework/test/unittest/src/native/ |
| D | native_sym_cipher_test.cpp | 52 OH_Crypto_ErrCode AesEncrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherPa… in AesEncrypt() 96 OH_Crypto_ErrCode AesDecrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherPa… in AesDecrypt() 174 OH_CryptoSymCipher *cipher = nullptr; variable
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
| D | hks_rsa_cipher_part6_test.cpp | 285 uint8_t cipher[RSA_COMMON_SIZE] = { 0 }; variable 330 uint8_t cipher[RSA_COMMON_SIZE] = { 0 }; variable 374 uint8_t cipher[RSA_COMMON_SIZE] = { 0 }; variable 438 uint8_t cipher[RSA_COMMON_SIZE] = { 0 }; variable
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_cipher.cpp | 43 HcfCipher *cipher = nullptr; member 344 HcfCipher *cipher = context->cipher; in AsyncInitProcess() local 359 HcfCipher *cipher = context->cipher; in AsyncUpdateProcess() local 370 HcfCipher *cipher = context->cipher; in AsyncDoFinalProcess() local 504 NapiCipher::NapiCipher(HcfCipher *cipher) in NapiCipher() 538 static napi_value SyncInit(napi_env env, HcfCipher *cipher, HcfCryptoMode opMode, HcfKey *key, in SyncInit() 568 HcfCipher *cipher = napiCipher->GetCipher(); in JsCipherInitSync() local 633 HcfCipher *cipher = nullptr; in JsCipherUpdateSync() local 700 HcfCipher *cipher = nullptr; in JsCipherDoFinalSync() local 755 HcfCipher *cipher = napiCipher->GetCipher(); in JsGetAlgorithm() local [all …]
|
| /base/security/device_auth/services/legacy/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()
|