| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_sm4_cfb_cipher_test.cpp | 48 uint8_t cipherText[128] = {0}; variable 96 uint8_t cipherText[128] = {0}; variable 144 uint8_t cipherText[128] = {0}; variable 192 uint8_t cipherText[128] = {0}; variable 240 uint8_t cipherText[128] = {0}; variable 288 uint8_t cipherText[128] = {0}; variable 336 uint8_t cipherText[128] = {0}; variable 383 uint8_t cipherText[128] = {0}; variable 431 uint8_t cipherText[128] = {0}; variable 479 uint8_t cipherText[128] = {0}; variable [all …]
|
| D | crypto_3des_cipher_test.cpp | 74 uint8_t *cipherText, int *cipherTextLen) in DesEncrypt() 117 uint8_t *cipherText, int cipherTextLen) in DesDecrypt() 164 uint8_t *cipherText, int *cipherTextLen) in DesNoUpdateEncrypt() 194 uint8_t *cipherText, int cipherTextLen) in DesNoUpdateDecrypt() 230 uint8_t cipherText[128] = {0}; variable 277 uint8_t cipherText[128] = {0}; variable 325 uint8_t cipherText[128] = {0}; variable 373 uint8_t cipherText[128] = {0}; variable 424 uint8_t cipherText[128] = {0}; variable 474 uint8_t cipherText[128] = {0}; variable [all …]
|
| D | crypto_sm4_cipher_test.cpp | 53 uint8_t cipherText[128] = {0}; variable 101 uint8_t cipherText[128] = {0}; variable 148 uint8_t cipherText[128] = {0}; variable 194 uint8_t cipherText[128] = {0}; variable 243 uint8_t cipherText[128] = {0}; variable 289 uint8_t cipherText[128] = {0}; variable 337 uint8_t cipherText[128] = {0}; variable 385 uint8_t cipherText[128] = {0}; variable 432 uint8_t cipherText[128] = {0}; variable 479 uint8_t cipherText[128] = {0}; variable [all …]
|
| D | crypto_sm4_ecb_cipher_test.cpp | 48 uint8_t cipherText[128] = {0}; variable 95 uint8_t cipherText[128] = {0}; variable 143 uint8_t cipherText[128] = {0}; variable 190 uint8_t cipherText[128] = {0}; variable 237 uint8_t cipherText[128] = {0}; variable 285 uint8_t cipherText[128] = {0}; variable 577 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 614 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 721 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 787 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable
|
| D | sm4_common.cpp | 73 uint8_t *cipherText, int *cipherTextLen) in Sm4EncryptWithInput() 116 uint8_t *cipherText, int cipherTextLen) in Sm4DecryptEmptyMsg() 142 uint8_t *cipherText, int *cipherTextLen) in Sm4Encrypt() 185 uint8_t *cipherText, int cipherTextLen) in Sm4Decrypt() 232 uint8_t *cipherText, int *cipherTextLen) in Sm4NoUpdateEncrypt() 262 uint8_t *cipherText, int cipherTextLen) in Sm4NoUpdateDecrypt()
|
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| D | crypto_aes_cfb_cipher_test.cpp | 49 uint8_t cipherText[128] = {0}; variable 100 uint8_t cipherText[128] = {0}; variable 151 uint8_t cipherText[128] = {0}; variable 203 uint8_t cipherText[128] = {0}; variable 254 uint8_t cipherText[128] = {0}; variable 305 uint8_t cipherText[128] = {0}; variable 355 uint8_t cipherText[128] = {0}; variable 405 uint8_t cipherText[128] = {0}; variable 455 uint8_t cipherText[128] = {0}; variable 505 uint8_t cipherText[128] = {0}; variable [all …]
|
| D | crypto_aes_ecb_cipher_test.cpp | 54 uint8_t cipherText[128] = {0}; variable 106 uint8_t cipherText[128] = {0}; variable 151 uint8_t cipherText[128] = {0}; variable 197 uint8_t cipherText[128] = {0}; variable 246 uint8_t cipherText[128] = {0}; variable 292 uint8_t cipherText[128] = {0}; variable 337 uint8_t cipherText[128] = {0}; variable 383 uint8_t cipherText[128] = {0}; variable 478 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 514 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable [all …]
|
| D | crypto_aes_gcm_cipher_test.cpp | 51 uint8_t cipherText[128] = {0}; variable 105 uint8_t cipherText[128] = {0}; variable 159 uint8_t cipherText[128] = {0}; variable 213 uint8_t cipherText[128] = {0}; variable 267 uint8_t cipherText[128] = {0}; variable 321 uint8_t cipherText[128] = {0}; variable 375 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 428 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 507 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 549 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable [all …]
|
| D | crypto_aes_ccm_cipher_test.cpp | 51 uint8_t cipherText[128] = {0}; variable 104 uint8_t cipherText[128] = {0}; variable 157 uint8_t cipherText[128] = {0}; variable 210 uint8_t cipherText[128] = {0}; variable 263 uint8_t cipherText[128] = {0}; variable 317 uint8_t cipherText[128] = {0}; variable 370 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 422 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 471 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 506 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable [all …]
|
| D | crypto_aes_ofb_cipher_test.cpp | 49 uint8_t cipherText[128] = {0}; variable 100 uint8_t cipherText[128] = {0}; variable 151 uint8_t cipherText[128] = {0}; variable 201 uint8_t cipherText[128] = {0}; variable 252 uint8_t cipherText[128] = {0}; variable 303 uint8_t cipherText[128] = {0}; variable 404 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 446 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable
|
| D | crypto_aes_cbc_cipher_test.cpp | 49 uint8_t cipherText[128] = {0}; variable 100 uint8_t cipherText[128] = {0}; variable 151 uint8_t cipherText[128] = {0}; variable 202 uint8_t cipherText[128] = {0}; variable 253 uint8_t cipherText[128] = {0}; variable 304 uint8_t cipherText[128] = {0}; variable 407 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 449 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable
|
| D | crypto_aes_ctr_cipher_test.cpp | 49 uint8_t cipherText[128] = {0}; variable 100 uint8_t cipherText[128] = {0}; variable 151 uint8_t cipherText[128] = {0}; variable 202 uint8_t cipherText[128] = {0}; variable 253 uint8_t cipherText[128] = {0}; variable 304 uint8_t cipherText[128] = {0}; variable 406 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable 448 uint8_t cipherText[CIPHER_TEXT_LEN] = { 0 }; variable
|
| D | aes_common.cpp | 258 uint8_t *cipherText, int *cipherTextLen) in AesEncryptWithInput() 301 uint8_t *cipherText, int *cipherTextLen) in AesEncrypt() 346 uint8_t *cipherText, int cipherTextLen) in AesDecrypt() 394 uint8_t *cipherText, int *cipherTextLen) in AesNoUpdateEncWithInput() 425 uint8_t *cipherText, int cipherTextLen) in AesDecryptEmptyMsg() 450 uint8_t *cipherText, int *cipherTextLen) in AesNoUpdateEncrypt() 482 uint8_t *cipherText, int cipherTextLen) in AesNoUpdateDecrypt()
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| D | hks_mbedtls_aes.c | 99 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCrypt() 183 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptUpdate() 229 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptFinal() 281 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcPkcs7Crypt() 397 … AesCbcPkcs7CryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in AesCbcPkcs7CryptUpdate() 416 struct HksBlob *cipherText) in AesCbcPkcs7CryptFinal() 464 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCrypt() 502 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptUpdate() 520 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptFinal() 540 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in AesEncryptGcm() [all …]
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
| D | hks_rsa_cipher_test_common.cpp | 21 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksRsaCipherTestEncryptAbnormal() 53 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksRsaCipherTestEncrypt() 82 …const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plain… in HksRsaCipherTestDecrypt() 131 struct HksBlob cipherText = { Unittest::RsaCipher::RSA_COMMON_SIZE, cipher }; in HksRsaCipherTestCase() local 167 struct HksBlob cipherText = { Unittest::RsaCipher::RSA_COMMON_SIZE, cipher }; in HksRsaCipherTestCaseAbnormal() local
|
| D | hks_sm2_cipher_test.cpp | 359 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksSm2CipherTestEncrypt() 387 const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) in HksSm2CipherTestDecrypt() 424 const struct HksBlob *inData, struct HksBlob *cipherText) in HksSm2CipherTestRun() 490 struct HksBlob cipherText = { SM2_COMMON_SIZE, cipher }; variable 514 struct HksBlob cipherText; variable 556 struct HksBlob cipherText = { SM2_COMMON_SIZE, cipher }; variable 576 struct HksBlob cipherText = { SM2_COMMON_SIZE, cipher }; variable 585 …t HksParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) in HksSm2CipherTestEncryptByNdk() 605 const struct OH_Huks_ParamSet *decryptParamSet, const struct OH_Huks_Blob *cipherText, in HksSm2CipherTestDecryptByNdk() 659 struct OH_Huks_Blob cipherText = { SM2_COMMON_SIZE, cipher }; in HksSm2CipherTestRunByNdk() local
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
| D | hks_sm4_cipher_test_common.cpp | 24 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksSm4CipherTestEncrypt() 45 …const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plain… in HksSm4CipherTestDecrypt() 90 struct HksBlob cipherText = { SM4_COMMON_SIZE, cipher }; in HksSm4CipherTestCaseOther() local
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
| D | hks_aes_cipher_test_common.cpp | 29 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesCipherTestEncrypt() 59 struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText, in HksAesCipherTestEncryptWithoutNonce() 99 …const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plain… in HksAesCipherTestDecrypt() 175 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseOther() local 207 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm2() local 265 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm3() local 311 static void HksAesGcmAppendAeadAndNonce(struct HksParamSet *paramSet, struct HksBlob *cipherText) in HksAesGcmAppendAeadAndNonce() 351 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm4() local 397 const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesEncryptThreeStage() 405 const struct HksBlob *inData, struct HksBlob *cipherText, struct HksBlob *plainText) in HksAesDecryptThreeStage()
|
| /base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
| D | hcfciphercreate_fuzzer.cpp | 34 uint8_t *cipherText, int *cipherTextLen) in AesEncrypt() 73 uint8_t *cipherText, int cipherTextLen) in AesDecrypt() 118 uint8_t cipherText[128] = {0}; in TestAesCipher() local
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_sm4.c | 114 …OpensslSm4EncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslSm4EncryptUpdate() 142 …OpensslSm4EncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslSm4EncryptFinal() 212 …OpensslSm4DecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslSm4DecryptFinal() 269 const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslSm4Encrypt()
|
| D | hks_openssl_aes.c | 140 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptUpdate() 202 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptFinalThree() 373 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinal() 530 struct HksBlob *cipherText) in OpensslAesAeadEnryptUpdate() 564 struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinalGCM() 717 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslAesCipherEncryptFinal() 792 …OpensslAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslAesEncryptUpdate() 825 …OpensslAesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesEncryptFinal() 911 …OpensslAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesDecryptFinal() 983 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslAesEncrypt()
|
| /base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
| D | hks_crypto_hal_api_mbedtls.cpp | 166 HksBlob cipherText = { .size = 0, .data = nullptr }; variable 201 HksBlob cipherText = { .size = 1, .data = buff }; variable 225 HksBlob cipherText = { .size = 1, .data = buff }; variable 248 HksBlob cipherText = { .size = 1, .data = buff }; variable 273 HksBlob cipherText = { .size = 1, .data = buff }; variable 295 HksBlob cipherText = { .size = 1, .data = buff }; variable
|
| D | hks_crypto_hal_api_openssl.cpp | 151 HksBlob cipherText = { .size = 0, .data = nullptr }; variable 186 HksBlob cipherText = { .size = 0, .data = nullptr }; variable 221 HksBlob cipherText = { .size = 1, .data = buff }; variable 257 HksBlob cipherText = { .size = 1, .data = buff }; variable 285 HksBlob cipherText = { .size = 1, .data = buff }; variable 732 HksBlob cipherText = { .size = 0, .data = nullptr }; variable 843 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
|
| /base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
| D | dlp_crypt_test.cpp | 113 struct DlpBlob cipherText = {15, enc}; variable 134 struct DlpBlob cipherText = {15, enc}; variable 155 struct DlpBlob cipherText = {15, enc}; variable 382 struct DlpBlob cipherText = {32, g_key}; variable 403 struct DlpBlob cipherText = {15, enc}; variable 461 struct DlpBlob cipherText = {15, enc}; variable 495 struct DlpBlob cipherText = {32, g_key}; variable 528 struct DlpBlob cipherText = {15, enc}; variable 566 struct DlpBlob cipherText = {15, enc}; variable 604 struct DlpBlob cipherText = {15, enc}; variable [all …]
|
| /base/security/huks/test/unittest/huks_lite_test/common/ |
| D | hks_test_aes.c | 72 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByLocal() local
|