Home
last modified time | relevance | path

Searched defs:cipherText (Results 1 – 25 of 51) sorted by relevance

123

/base/security/crypto_framework/test/unittest/src/
Dcrypto_3des_cipher_test.cpp74 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 …]
Dcrypto_aes_cipher_test.cpp291 uint8_t *cipherText, int *cipherTextLen) in AesEncrypt()
336 uint8_t *cipherText, int cipherTextLen) in AesDecrypt()
384 uint8_t *cipherText, int *cipherTextLen) in AesNoUpdateEncrypt()
416 uint8_t *cipherText, int cipherTextLen) in AesNoUpdateDecrypt()
459 uint8_t cipherText[128] = {0}; variable
511 uint8_t cipherText[128] = {0}; variable
556 uint8_t cipherText[128] = {0}; variable
603 uint8_t cipherText[128] = {0}; variable
654 uint8_t cipherText[128] = {0}; variable
705 uint8_t cipherText[128] = {0}; variable
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c98 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCrypt()
181 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptUpdate()
227 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptFinal()
279 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcPkcs7Crypt()
389 … AesCbcPkcs7CryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in AesCbcPkcs7CryptUpdate()
407 struct HksBlob *cipherText) in AesCbcPkcs7CryptFinal()
453 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCrypt()
491 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptUpdate()
509 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptFinal()
529 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in AesEncryptGcm()
[all …]
Dhks_mbedtls_engine.c30 const struct HksBlob *message, struct HksBlob *cipherText) in EncryptCheckParam()
270 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt()
304 …2_t HksCryptoHalEncryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalEncryptFinal()
332 const struct HksBlob *message, struct HksBlob *cipherText) in HksCryptoHalDecrypt()
365 …2_t HksCryptoHalDecryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalDecryptFinal()
Dhks_mbedtls_rsa.c264 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in HksMbedtlsRsaCrypt()
319 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksMbedtlsRsaEncrypt()
326 const struct HksBlob *message, struct HksBlob *cipherText) in HksMbedtlsRsaDecrypt()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_rsa_cipher_test_common.cpp21 …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
Dhks_sm4_cipher_test_common.cpp24 …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
Dhks_aes_cipher_test_common.cpp24 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesCipherTestEncrypt()
54 …const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plain… in HksAesCipherTestDecrypt()
130 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseOther() local
162 struct HksBlob cipherText = { AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm2() local
Dhks_cross_test.cpp76 struct HksBlob cipherText = { CROSS_COMMON_SIZE, cipher }; variable
119 struct HksBlob cipherText = { CROSS_COMMON_SIZE, cipher }; variable
166 struct HksBlob cipherText = { CROSS_COMMON_SIZE, cipher }; variable
214 struct HksBlob cipherText = { CROSS_COMMON_SIZE, cipher }; variable
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp130 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
165 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
200 HksBlob cipherText = { .size = 1, .data = buff }; variable
224 HksBlob cipherText = { .size = 1, .data = buff }; variable
247 HksBlob cipherText = { .size = 1, .data = buff }; variable
272 HksBlob cipherText = { .size = 1, .data = buff }; variable
294 HksBlob cipherText = { .size = 1, .data = buff }; variable
Dhks_crypto_hal_api_openssl.cpp149 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
184 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
219 HksBlob cipherText = { .size = 1, .data = buff }; variable
255 HksBlob cipherText = { .size = 1, .data = buff }; variable
283 HksBlob cipherText = { .size = 1, .data = buff }; variable
730 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
841 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
Dhks_crypto_hal_rsa_decrypt.cpp491 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in RunTestCase() local
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
Dhcfciphercreate_fuzzer.cpp34 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/
Dhks_openssl_aes.c139 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptUpdate()
158 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslBlockCipherEncryptFinalThree()
391 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinal()
547 struct HksBlob *cipherText) in OpensslAesAeadEnryptUpdate()
581 struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinalGCM()
734 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslAesCipherEncryptFinal()
809 …OpensslAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslAesEncryptUpdate()
842 …OpensslAesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesEncryptFinal()
928 …OpensslAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesDecryptFinal()
1000 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslAesEncrypt()
Dhks_openssl_sm4.c114 …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()
Dhks_openssl_engine.c109 const struct HksBlob *message, struct HksBlob *cipherText) in EncryptCheckParam()
124 const struct HksBlob *message, struct HksBlob *cipherText) in DecryptCheckParam()
384 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt()
424 …2_t HksCryptoHalEncryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalEncryptFinal()
452 const struct HksBlob *message, struct HksBlob *cipherText) in HksCryptoHalDecrypt()
488 …2_t HksCryptoHalDecryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalDecryptFinal()
Dhks_openssl_rsa.c341 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in HksOpensslRsaCrypt()
390 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslRsaEncrypt()
397 const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslRsaDecrypt()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp73 HksBlob cipherText = { .size = inLength, .data = static_cast<uint8_t *>(HksMalloc(inLength)) }; in GenerateKeyTestCase() local
140 HksBlob cipherText = { .size = inLength, .data = static_cast<uint8_t *>(HksMalloc(inLength)) }; in EncryptLocalTestCase() local
187 HksBlob cipherText = { .size = inLen, .data = static_cast<uint8_t *>(HksMalloc(inLen)) }; in EncryptServiceTestCase() local
270 HksBlob cipherText = { .size = inLength, .data = static_cast<uint8_t *>(HksMalloc(inLength)) }; in DecryptLocalTestCase() local
330 HksBlob cipherText = { .size = inLength, .data = static_cast<uint8_t *>(HksMalloc(inLength)) }; in DecryptServiceTestCase() local
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c54 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksAccessEncrypt()
60 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksAccessDecrypt()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c383 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree() local
451 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree1() local
509 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree2() local
577 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByLocal() local
Dhks_test_api_performance.c42 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
64 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c381 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree() local
449 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree1() local
507 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree2() local
Dhks_test_api_performance.c42 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
65 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
Dhuks_access.c194 const struct HksBlob *plainText, struct HksBlob *cipherText)) in ENABLE_CFI()
205 const struct HksBlob *cipherText, struct HksBlob *plainText)) in ENABLE_CFI()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_interfaces.c122 const struct HksBlob *plainText, struct HksBlob *cipherText) in HuksHdiEncrypt()
128 const struct HksBlob *cipherText, struct HksBlob *plainText) in HuksHdiDecrypt()

123