Home
last modified time | relevance | path

Searched refs:tmpInData (Results 1 – 8 of 8) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm4_cipher_test_common.cpp68 char tmpInData[] = "SM4_ECB_INDATA_1"; in HksSm4CipherTestCaseOther() local
77 inData.size = strlen(tmpInData); in HksSm4CipherTestCaseOther()
78 inData.data = reinterpret_cast<uint8_t *>(tmpInData); in HksSm4CipherTestCaseOther()
Dhks_three_stage_test_common.c58 struct HksBlob tmpInData = { in TestLessThanMaxSeg() local
62 if (MallocAndCheckBlobData(&tmpInData, MAX_UPDATE_SIZE) != HKS_SUCCESS) { in TestLessThanMaxSeg()
67 ret = HksFinish(handle, paramSet, outData, &tmpInData); in TestLessThanMaxSeg()
69 ret = HksFinish(handle, paramSet, &tmpInData, outData); in TestLessThanMaxSeg()
71 HksFree(tmpInData.data); in TestLessThanMaxSeg()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/
Dhks_ed25519_sign_verify_test.h23 static const std::string tmpInData = "Hks_ED25519_Sign_Verify_Test_00000000000000000000000000000000… variable
26 static const struct HksBlob g_inData = { tmpInData.length(), (uint8_t *)tmpInData.c_str() };
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_ipc.c234 struct HksBlob tmpInData = *srcData; in HksClientSign() local
236 ret = HksSliceDataEntry(HKS_MSG_SIGN, key, paramSet, &tmpInData, &tmpOutData); in HksClientSign()
251 struct HksBlob tmpInData = *srcData; in HksClientVerify() local
253 ret = HksSliceDataEntry(HKS_MSG_VERIFY, key, paramSet, &tmpInData, &tmpOutData); in HksClientVerify()
349 struct HksBlob tmpInData = *plainText; in HksClientEncrypt() local
351 ret = HksSliceDataEntry(HKS_MSG_ENCRYPT, key, newParamSet, &tmpInData, &tmpOutData); in HksClientEncrypt()
437 struct HksBlob tmpInData = *srcData; in HksClientMac() local
439 ret = HksSliceDataEntry(HKS_MSG_MAC, key, paramSet, &tmpInData, &tmpOutData); in HksClientMac()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp108 char tmpInData[] = "AES_ECB_INDATA_1"; in HksAesCipherTestCaseOther() local
117 inData.size = strlen(tmpInData); in HksAesCipherTestCaseOther()
118 inData.data = reinterpret_cast<uint8_t *>(tmpInData); in HksAesCipherTestCaseOther()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_ed25519_sign_verify_test.cpp108 tmpInData.length(), in HksEd25519SignVerifyTestNormalCase()
109 (uint8_t *)tmpInData.c_str() in HksEd25519SignVerifyTestNormalCase()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c489 struct HksBlob tmpInData = { inData->size, inData->data }; in Cipher() local
490 ret = HksBuildCipherUsageSpec(paramSet, isEncrypt, &tmpInData, &usageSpec); in Cipher()
499 ret = CipherEncrypt(&rawKey, paramSet, usageSpec, &tmpInData, outData); in Cipher()
501 ret = HksCryptoHalDecrypt(&rawKey, usageSpec, &tmpInData, outData); in Cipher()
Dhks_core_service_three_stage.c548 struct HksBlob tmpInData = { HKS_TEMP_SIZE, tmpData }; in CoreCipherInit() local
550 ret = HksBuildCipherUsageSpec(keyNode->runtimeParamSet, isEncrypt, &tmpInData, &usageSpec); in CoreCipherInit()