Home
last modified time | relevance | path

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

123

/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c97 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()
233 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptFinal()
285 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()
459 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCrypt()
497 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptUpdate()
515 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcCryptFinal()
535 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in AesEncryptGcm()
[all …]
Dhks_mbedtls_engine.c29 const struct HksBlob *message, struct HksBlob *cipherText) in EncryptCheckParam()
320 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt()
381 …2_t HksCryptoHalEncryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalEncryptFinal()
414 const struct HksBlob *message, struct HksBlob *cipherText) in HksCryptoHalDecrypt()
474 …2_t HksCryptoHalDecryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalDecryptFinal()
Dhks_mbedtls_rsa.c263 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in HksMbedtlsRsaCrypt()
325 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksMbedtlsRsaEncrypt()
332 const struct HksBlob *message, struct HksBlob *cipherText) in HksMbedtlsRsaDecrypt()
/base/security/huks/unittest/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_aes_cipher_test_common.cpp21 …onst struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesCipherTestEncrypt()
51 …const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plain… in HksAesCipherTestDecrypt()
106 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseOther() local
139 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAESCipherTestCaseCcm() local
173 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm() local
Dhks_cross_test.cpp73 struct HksBlob cipherText = { Unittest::CrossTest::CROSS_COMMON_SIZE, cipher }; variable
115 struct HksBlob cipherText = { Unittest::CrossTest::CROSS_COMMON_SIZE, cipher }; variable
162 struct HksBlob cipherText = { Unittest::CrossTest::CROSS_COMMON_SIZE, cipher }; variable
210 struct HksBlob cipherText = { Unittest::CrossTest::CROSS_COMMON_SIZE, cipher }; variable
/base/security/huks/test/unittest/src/liteos_a_adapter/three_stage/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
Dhks_aes_cipher_test_common.cpp44 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseOther() local
102 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAESCipherTestCaseCcm() local
161 struct HksBlob cipherText = { Unittest::AesCipher::AES_COMMON_SIZE, cipher }; in HksAesCipherTestCaseGcm() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/test/unittest/
Dhks_crypto_hal_api_mbedtls.cpp128 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
163 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
198 HksBlob cipherText = { .size = 1, .data = buff }; variable
222 HksBlob cipherText = { .size = 1, .data = buff }; variable
245 HksBlob cipherText = { .size = 1, .data = buff }; variable
270 HksBlob cipherText = { .size = 1, .data = buff }; variable
292 HksBlob cipherText = { .size = 1, .data = buff }; variable
Dhks_crypto_hal_api_openssl.cpp147 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
182 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
217 HksBlob cipherText = { .size = 1, .data = buff }; variable
253 HksBlob cipherText = { .size = 1, .data = buff }; variable
281 HksBlob cipherText = { .size = 1, .data = buff }; variable
721 HksBlob cipherText = { .size = 0, .data = nullptr }; variable
829 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
Dhks_crypto_hal_rsa_encrypt.cpp481 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in RunTestCase() local
Dhks_crypto_hal_aes_decrypt.cpp342 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in RunTestCase() local
470 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in GcmRunTestCase() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c192 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinal()
347 struct HksBlob *cipherText) in OpensslAesAeadEnryptUpdate()
381 struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinalGCM()
534 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslAesCipherEncryptFinal()
636 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslAesCipherEncryptUpdate()
656 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in OpensslAesCipherEncryptFinalThree()
808 …OpensslAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslAesEncryptUpdate()
845 …OpensslAesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesEncryptFinal()
943 …OpensslAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, in HksOpensslAesDecryptFinal()
1019 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslAesEncrypt()
Dhks_openssl_engine.c132 const struct HksBlob *message, struct HksBlob *cipherText) in EncryptCheckParam()
157 const struct HksBlob *message, struct HksBlob *cipherText) in DecryptCheckParam()
452 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt()
512 …2_t HksCryptoHalEncryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalEncryptFinal()
546 const struct HksBlob *message, struct HksBlob *cipherText) in HksCryptoHalDecrypt()
608 …2_t HksCryptoHalDecryptFinal(const struct HksBlob *message, void **ctx, struct HksBlob *cipherText, in HksCryptoHalDecryptFinal()
Dhks_openssl_rsa.c354 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in HksOpensslRsaCrypt()
403 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslRsaEncrypt()
410 const struct HksBlob *message, struct HksBlob *cipherText) in HksOpensslRsaDecrypt()
/base/security/huks/interfaces/innerkits/huks_standard/test/moduletest/src/
Dhks_rsa_common_mt.cpp70 HksBlob cipherText = { .size = inLength, .data = (uint8_t *)HksMalloc(inLength) }; in GenerateKeyTestCase() local
134 HksBlob cipherText = { .size = inLength, .data = (uint8_t *)HksMalloc(inLength) }; in EncryptLocalTestCase() local
181 HksBlob cipherText = { .size = inLen, .data = (uint8_t *)HksMalloc(inLen) }; in EncryptServiceTestCase() local
259 HksBlob cipherText = { .size = inLength, .data = (uint8_t *)HksMalloc(inLength) }; in DecryptLocalTestCase() local
319 HksBlob cipherText = { .size = inLength, .data = (uint8_t *)HksMalloc(inLength) }; in DecryptServiceTestCase() local
Dhks_aes_cipher_mt.cpp445 HksBlob cipherText = { .size = inLen, .data = (uint8_t *)HksMalloc(inLen) }; in RunTestCase() local
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c55 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksAccessEncrypt()
61 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksAccessDecrypt()
/base/security/huks/test/unittest/src/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.c43 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
66 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/base/security/huks/interfaces/innerkits/huks_standard/test/unittest/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.c41 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/services/huks_standard/huks_engine/main/core/src/
Dhks_core_interfaces.c115 const struct HksBlob *plainText, struct HksBlob *cipherText) in HuksHdiEncrypt()
121 const struct HksBlob *cipherText, struct HksBlob *plainText) in HuksHdiDecrypt()
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_rsa.c213 static int32_t RsaEncryptBase64Encode(int32_t cipherTotalLen, char *cipherText, int32_t cipherTextL… in RsaEncryptBase64Encode()
253 char *cipherText, int32_t cipherTextLen) in RsaEncryptMultipleBlock()

123