/base/security/crypto_framework/test/unittest/src/aes_cipher/ |
H A D | crypto_aes_ccm_cipher_test.cpp | 76 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 D | crypto_aes_gcm_cipher_test.cpp | 77 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 D | crypto_aes_cfb_cipher_test.cpp | 77 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 D | crypto_aes_ctr_cipher_test.cpp | 77 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 D | crypto_aes_cbc_cipher_test.cpp | 77 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 D | crypto_aes_ofb_cipher_test.cpp | 77 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 D | crypto_aes_ecb_cipher_test.cpp | 79 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 D | crypto_aes_cipher_test.cpp | 696 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 D | aes_common.cpp | 300 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 D | openssl_aes_helper.h | 33 int32_t AesEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBlob *outData,
|
/base/security/crypto_framework/test/unittest/src/native/ |
H A D | native_sym_cipher_test.cpp | 52 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 D | aes_common.h | 60 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params,
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
H A D | hcfciphercreate_fuzzer.cpp | 32 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 D | openssl_aes_helper.c | 125 int32_t AesEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBlob *outData, in AesEncrypt() function
|
H A D | hks_aes_key_mt.cpp | 477 EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &symmetricKey), testCaseParams.encryptResult); in RunTestCase()
|
H A D | hks_aes_decrypt_mt.cpp | 517 EXPECT_EQ(AesEncrypt(paramInSet, &plainText, &cipherText, &authId), testCaseParams.encryptResult); in RunTestCase()
|