Home
last modified time | relevance | path

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

/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_ccm_cipher_test.cpp76 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
78 LOGE("AesEncrypt failed!"); in HWTEST_F()
129 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
131 LOGE("AesEncrypt failed!"); in HWTEST_F()
182 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
184 LOGE("AesEncrypt failed!"); in HWTEST_F()
395 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen); in HWTEST_F()
397 LOGE("AesEncrypt failed!"); in HWTEST_F()
447 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen); in HWTEST_F()
449 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_gcm_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
79 LOGE("AesEncrypt failed, ret:%d!", ret); in HWTEST_F()
131 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
133 LOGE("AesEncrypt failed, ret:%d!", ret); in HWTEST_F()
185 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen); in HWTEST_F()
187 LOGE("AesEncrypt failed, ret:%d!", ret); in HWTEST_F()
401 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen); in HWTEST_F()
403 LOGE("AesEncrypt failed, ret:%d!", ret); in HWTEST_F()
454 ret = AesEncrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen); in HWTEST_F()
456 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_cfb_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
79 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
130 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
181 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
231 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
233 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
282 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
284 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_ctr_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
79 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
130 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
181 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
427 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
429 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
469 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
471 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_cbc_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
79 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
130 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
181 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
428 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
430 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
470 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
472 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_ofb_cipher_test.cpp77 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
79 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
128 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
130 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
179 ret = AesEncrypt(cipher, key, (HcfParamsSpec *)&ivSpec, cipherText, &cipherTextLen); in HWTEST_F()
181 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
425 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
427 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
467 ret = AesEncrypt(cipher, key, &(ivSpec.base), cipherText, &cipherTextLen); in HWTEST_F()
469 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_ecb_cipher_test.cpp79 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
81 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
130 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
132 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
175 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
177 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
219 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
221 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
495 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
497 LOGE("AesEncrypt faile in HWTEST_F()
[all...]
H A Dcrypto_aes_cipher_test.cpp696 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
698 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
733 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
735 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
770 ret = AesEncrypt(cipher, key, nullptr, cipherText, &cipherTextLen); in HWTEST_F()
772 LOGE("AesEncrypt failed! %d", ret); in HWTEST_F()
H A Daes_common.cpp300 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt() function
/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 HksBlob *outData,
/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_CryptoSymCipherParams *params, in AesEncrypt() function
178 ret = AesEncrypt(cipher, symKey, params, cipherText, &cipherTextLen); in HWTEST_F()
/base/security/crypto_framework/test/unittest/include/
H A Daes_common.h60 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params,
/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()
/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 HksBlob *outData, in AesEncrypt() function
H A Dhks_aes_key_mt.cpp477 EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &symmetricKey), testCaseParams.encryptResult); in RunTestCase()
H A Dhks_aes_decrypt_mt.cpp517 EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &authId), testCaseParams.encryptResult); in RunTestCase()

Completed in 11 milliseconds