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