Home
last modified time | relevance | path

Searched refs:cipherText1 (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_lite_test/common/
H A Dhks_test_aes.c54 struct HksBlob cipherText1 = { TEST_AES_256, g_buffer }; in TestAes256ByLocal() local
55 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByLocal()
56 HKS_TEST_ASSERT(HksEncryptForDe(&keyBlob, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByLocal()
57 g_bufferSize = cipherText1.size; in TestAes256ByLocal()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_aes_func.cpp331 struct HksBlob cipherText1 = { TEST_AES_256, g_buffer }; in TestAes256ByAgree() local
332 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByAgree()
333 HKS_TEST_ASSERT(HksEncryptForDe(&aesKeyAlias1, paramSetTest, &plainText1, &cipherText1) == 0); in TestAes256ByAgree()
334 g_bufferSize = cipherText1.size; in TestAes256ByAgree()
397 struct HksBlob cipherText1 = { TEST_AES_256, g_buffer }; in TestAes256ByAgree1() local
398 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByAgree1()
400 g_bufferSize = cipherText1.size; in TestAes256ByAgree1()
455 struct HksBlob cipherText1 = { TEST_AES_256, g_buffer }; in TestAes256ByAgree2() local
456 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByAgree2()
457 HKS_TEST_ASSERT(HksEncryptForDe(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree2()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/
H A Dhks_aes_cipher_test_common.h59 const struct HksBlob *inData1, struct HksBlob *cipherText1, struct HksBlob *plainText1,
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_batch_test.cpp891 struct HksBlob cipherText1 = { AesCipher::AES_COMMON_SIZE, cipher1 }; variable
896 ret = AesCipher::HksAesEncryptThreeStage(&keyAlias, encryptParamSet, &inData1, &cipherText1);
908 …ret = AesCipher::HksAesDecryptThreeStage(&keyAlias, decNormaLParamSet, &inData1, &cipherText1, &pl…
920 …ret = AesCipher::HksAesDecryptForBatch(&keyAlias, decryptBatchParamSet, &inData1, &cipherText1, &p…
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_test_common.cpp453 const struct HksBlob *inData1, struct HksBlob *cipherText1, struct HksBlob *plainText1, in HksAesDecryptForBatch() argument
456 HksAesGcmAppendAeadAndNonce(decryptParamSet, cipherText1); in HksAesDecryptForBatch()
470 ret = HksUpdateForDe(&handleDecryptTest, decryptParamSet, cipherText1, plainText1); in HksAesDecryptForBatch()