| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| D | hks_mbedtls_aes.c | 97 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 …]
|
| D | hks_mbedtls_engine.c | 29 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()
|
| D | hks_mbedtls_rsa.c | 263 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/ |
| 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_aes_cipher_test_common.cpp | 21 …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
|
| D | hks_cross_test.cpp | 73 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/ |
| 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
|
| D | hks_aes_cipher_test_common.cpp | 44 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/ |
| D | hks_crypto_hal_api_mbedtls.cpp | 128 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
|
| D | hks_crypto_hal_api_openssl.cpp | 147 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
|
| D | hks_crypto_hal_rsa_decrypt.cpp | 491 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in RunTestCase() local
|
| D | hks_crypto_hal_rsa_encrypt.cpp | 481 …HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENME… in RunTestCase() local
|
| D | hks_crypto_hal_aes_decrypt.cpp | 342 …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/ |
| D | hks_openssl_aes.c | 192 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()
|
| D | hks_openssl_engine.c | 132 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()
|
| D | hks_openssl_rsa.c | 354 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/ |
| D | hks_rsa_common_mt.cpp | 70 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
|
| D | hks_aes_cipher_mt.cpp | 445 HksBlob cipherText = { .size = inLen, .data = (uint8_t *)HksMalloc(inLen) }; in RunTestCase() local
|
| /base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/ |
| D | hks_ca_access.c | 55 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/ |
| D | hks_test_aes.c | 383 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
|
| D | hks_test_api_performance.c | 43 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/ |
| D | hks_test_aes.c | 381 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
|
| D | hks_test_api_performance.c | 41 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/ |
| D | hks_core_interfaces.c | 115 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/ |
| D | cipher_rsa.c | 213 static int32_t RsaEncryptBase64Encode(int32_t cipherTotalLen, char *cipherText, int32_t cipherTextL… in RsaEncryptBase64Encode() 253 char *cipherText, int32_t cipherTextLen) in RsaEncryptMultipleBlock()
|