Home
last modified time | relevance | path

Searched refs:AesEncrypt (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_gcm_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
131 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
185 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
401 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
454 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
526 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
575 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
619 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
662 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
704 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
[all …]
H A Dcrypto_aes_cfb_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
1329 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1371 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1413 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1456 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1498 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1540 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1582 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
1624 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
[all …]
H A Dcrypto_aes_ccm_cipher_test.cpp76 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
129 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
182 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
395 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
447 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
489 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
531 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
573 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
615 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
H A Dcrypto_aes_ecb_cipher_test.cpp79 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
130 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
175 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
219 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
495 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
531 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
568 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
670 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
707 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
744 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
H A Dcrypto_aes_cbc_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
428 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
470 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
H A Dcrypto_aes_ctr_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
427 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
469 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
H A Dcrypto_aes_ofb_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen);
425 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
467 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen);
H A Dcrypto_aes_cipher_test.cpp696 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
733 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
770 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
H A Daes_common.cpp300 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt() function
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_cipher_test.cpp52 OH_Crypto_ErrCode AesEncrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherPa… in AesEncrypt() function
178 ret = AesEncrypt(cipher, symKey, params, cipherText, &cipherTextLen);
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
H A Dopenssl_aes_helper.h33 int32_t AesEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBl…
/ohos5.0/base/security/crypto_framework/test/unittest/include/
H A Daes_common.h60 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params,
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
H A Dhcfciphercreate_fuzzer.cpp32 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncrypt() function
221 (void)AesEncrypt(cipher, key, &input, cipherText, &cipherTextLen); in TestAesCipher()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_aes_helper.c125 int32_t AesEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBl… in AesEncrypt() function
H A Dhks_aes_decrypt_mt.cpp517 … EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &authId), testCaseParams.encryptResult); in RunTestCase()
H A Dhks_aes_key_mt.cpp477 …EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &symmetricKey), testCaseParams.encryptRe… in RunTestCase()