/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
H A D | hks_crypto_hal_aes_cipher.cpp | 493 struct HksBlob *encryptOut, struct HksBlob *tagAead) in RunTestEncrypt() 554 struct HksBlob *tagAead, struct HksBlob *decryptOut) in RunTestDecrypt() 626 HksBlob tagAead = { .size = AEAD_SIZE, .data = (uint8_t *)HksMalloc(AEAD_SIZE) }; in RunTestCaseThreeStage() local 649 struct HksBlob *tagAead, struct HksBlob *decryptOut) in RunTestGcmDecrypt() 720 HksBlob tagAead = { .size = AEAD_SIZE, .data = (uint8_t *)HksMalloc(AEAD_SIZE) }; in RunTestCaseThreeStageGCM() local 769 HksBlob tagAead = { .size = AEAD_SIZE, .data = (uint8_t *)HksMalloc(AEAD_SIZE) }; in RunTestCase() local
|
H A D | hks_crypto_hal_api_openssl.cpp | 152 HksBlob tagAead = { .size = 0, .data = nullptr }; variable 222 HksBlob tagAead = { .size = 1, .data = buff }; variable 733 HksBlob tagAead = { .size = 0, .data = nullptr }; variable 844 HksBlob tagAead = { .size = 0, .data = nullptr }; variable
|
H A D | hks_crypto_hal_rsa_encrypt.cpp | 329 HksBlob tagAead = { .size = 0, .data = nullptr }; in RunTestCase() local
|
H A D | hks_crypto_hal_api_mbedtls.cpp | 132 HksBlob tagAead = { .size = 0, .data = nullptr }; variable 202 HksBlob tagAead = { .size = 1, .data = buff }; variable
|
H A D | hks_crypto_hal_aes_encrypt.cpp | 423 HksBlob tagAead = { .size = AEAD_SIZE, .data = (uint8_t *)HksMalloc(AEAD_SIZE) }; in RunTestCase() local
|
H A D | hks_crypto_hal_rsa_cipher.cpp | 891 HksBlob tagAead = { .size = 0, .data = nullptr }; in RunTestCase() local
|
H A D | hks_crypto_hal_rsa_oaep_encrypt.cpp | 674 HksBlob tagAead = { .size = 0, .data = nullptr }; in RunTestCase() local
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_aes.c | 393 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinal() 584 struct HksBlob *cipherText, struct HksBlob *tagAead) in OpensslAesAeadEncryptFinalGCM() 630 struct HksBlob *plainText, struct HksBlob *tagAead) in OpensslAesAeadDecryptFinalGCM() 814 const struct HksBlob *input, struct HksBlob *output, struct HksBlob *tagAead) in OpensslAesAeadCipherFinal() 1038 struct HksBlob *tagAead) in HksOpensslAesEncryptFinal() 1124 struct HksBlob *tagAead) in HksOpensslAesDecryptFinal() 1195 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslAesEncrypt()
|
H A D | hks_openssl_sm4.c | 136 struct HksBlob *tagAead) in HksOpensslSm4EncryptFinal() 223 struct HksBlob *tagAead) in HksOpensslSm4DecryptFinal()
|
H A D | hks_openssl_engine.c | 380 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt() 421 struct HksBlob *tagAead, const uint32_t algtype) in HksCryptoHalEncryptFinal() 485 struct HksBlob *tagAead, const uint32_t algtype) in HksCryptoHalDecryptFinal()
|
H A D | hks_openssl_rsa.c | 437 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksOpensslRsaEncrypt()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_aes.c | 540 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in AesEncryptGcm() 685 struct HksBlob *tagAead) in AesEncryptGcmFinal() 816 struct HksBlob *cipherText, struct HksBlob *tagAead) in AesDecryptGcmFinal() 867 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in AesEncryptCcm() 1446 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksMbedtlsAesEncrypt() 1546 struct HksBlob *tagAead) in HksMbedtlsAesEncryptFinal() 1673 struct HksBlob *tagAead) in HksMbedtlsAesDecryptFinal() 1725 struct HksBlob *cipherText, struct HksBlob *tagAead, const bool encrypt) in HksMbedtlsAesCryptoFinal()
|
H A D | hks_mbedtls_engine.c | 263 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksCryptoHalEncrypt() 298 struct HksBlob *tagAead, const uint32_t algtype) in HksCryptoHalEncryptFinal() 359 struct HksBlob *tagAead, const uint32_t algtype) in HksCryptoHalDecryptFinal()
|
H A D | hks_mbedtls_rsa.c | 319 const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) in HksMbedtlsRsaEncrypt()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | hks_aes_decrypt_mt.cpp | 509 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase() local
|
H A D | hks_aes_encrypt_mt.cpp | 472 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase() local
|
H A D | hks_aes_key_mt.cpp | 469 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase() local
|
H A D | openssl_aes_helper.c | 234 const struct HksBlob *randomKey, const struct HksBlob *tagAead) in AesGcmEncrypt()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/ |
H A D | hks_crypto_adapter.c | 225 …ParamSet *paramSet, const struct HksBlob *inData, struct HksBlob *outData, struct HksBlob *tagAead) in HksGetEncryptAeTag()
|