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 D | hks_crypto_hal_aes_decrypt.cpp | 44 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 D | hks_crypto_hal_aes_cipher.cpp | 734 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 D | openssl_aes_helper.c | 289 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 D | openssl_aes_helper.h | 43 const struct HksBlob *randomKey, const struct HksBlob *tagDec);
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_keyblob.c | 190 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 D | hks_keyblob_lite.c | 133 …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 D | hks_chipset_platform_decrypt.c | 176 .tagDec = tag, in DoAesDecrypt()
|
H A D | hks_core_service_key_generate.c | 360 aeadParam->tagDec = *aeadTag; in BuildDecryptUsageSpecOfUnwrap()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_aes.c | 446 …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 D | hks_crypto_hal.h | 51 struct HksBlob tagDec; member
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/ |
H A D | hks_crypto_adapter.c | 152 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 D | hks_rkc.c | 254 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 D | hks_mbedtls_aes.c | 739 aeadParam->tagDec.data, in AesDecryptGcm() 740 aeadParam->tagDec.size, in AesDecryptGcm() 932 aeadParam->tagDec.data, in AesDecryptCcm() 933 aeadParam->tagDec.size); in AesDecryptCcm()
|