Home
last modified time | relevance | path

Searched refs:tagDec (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_aes_decrypt.cpp44 std::string tagDec; member
138 .tagDec = "43a345ff5f3af4bb383f999393949acc",
227 .tagDec = "b3ad99cd7951405f1eeefb4e54783f17",
316 .tagDec = "35a956a070d5ed7472a9b66165bcada7",
478 uint32_t tagDecSize = testCaseParamsForGcm.tagDec.length() / HKS_COUNT_OF_HALF; in GcmRunTestCase()
483 …tagDecBlob.data[ii] = ReadHex((const uint8_t *)&testCaseParamsForGcm.tagDec[HKS_COUNT_OF_HALF * ii… in GcmRunTestCase()
488 .tagDec = tagDecBlob, in GcmRunTestCase()
H A Dhks_crypto_hal_aes_cipher.cpp734 aeadParamForGcm.tagDec = tagAead; in RunTestCaseThreeStageGCM()
782 aeadParamForGcm.tagDec = tagAead; in RunTestCase()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_aes_helper.c289 const struct HksBlob *randomKey, const struct HksBlob *tagDec) in AesGcmDecrypt() argument
332 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tagDec->size, tagDec->data) != 1) { in AesGcmDecrypt()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
H A Dopenssl_aes_helper.h43 const struct HksBlob *randomKey, const struct HksBlob *tagDec);
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_keyblob.c190 aeadParam->tagDec.data = keyBlobInfo->tag; in BuildKeyBlobUsageSpec()
191 aeadParam->tagDec.size = HKS_KEY_BLOB_TAG_SIZE; in BuildKeyBlobUsageSpec()
523 aeadParam->tagDec.data = authToken->tag; in HksDecryptAuthToken()
524 aeadParam->tagDec.size = sizeof(authToken->tag); in HksDecryptAuthToken()
H A Dhks_keyblob_lite.c133 …aeadParam->tagDec.data = cipherKey->data + keyInfo->keyInfoLen - HKS_AE_TAG_LEN; /* the last 16 by… in BuildKeyBlobUsageSpec()
134 aeadParam->tagDec.size = HKS_AE_TAG_LEN; in BuildKeyBlobUsageSpec()
H A Dhks_chipset_platform_decrypt.c176 .tagDec = tag, in DoAesDecrypt()
H A Dhks_core_service_key_generate.c360 aeadParam->tagDec = *aeadTag; in BuildDecryptUsageSpecOfUnwrap()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_aes.c446 …if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, aeadParam->tagDec.size, aeadParam->tagDec.data… in OpensslAesAeadDecryptFinal()
692 … (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, aeadParam->tagDec.size, aeadParam->tagDec.data) … in OpensslAesAeadCipherSetParam()
694 … HKS_LOG_E("EVP_CIPHER_CTX_ctrl failed, tag aead size %" LOG_PUBLIC "d", aeadParam->tagDec.size); in OpensslAesAeadCipherSetParam()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_crypto_hal.h51 struct HksBlob tagDec; member
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_crypto_adapter.c152 aeadParam->tagDec = tagParam.blob; in HksFillAeadParam()
276 aeadParam->tagDec = tagParam->blob; in HksGetDecryptAeTag()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc.c254 aeadParam.tagDec.size = HKS_AE_TAG_LEN; in ExecuteMkCrypt()
255 aeadParam.tagDec.data = cipherText->data + cipherText->size - HKS_AE_TAG_LEN; in ExecuteMkCrypt()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_aes.c739 aeadParam->tagDec.data, in AesDecryptGcm()
740 aeadParam->tagDec.size, in AesDecryptGcm()
932 aeadParam->tagDec.data, in AesDecryptCcm()
933 aeadParam->tagDec.size); in AesDecryptCcm()