Home
last modified time | relevance | path

Searched refs:Sm4Encrypt (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm4_gcm_cipher_test.cpp79 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
133 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
187 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
422 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
471 ret = Sm4Encrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
515 ret = Sm4Encrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
558 ret = Sm4Encrypt(cipher, key, &(spec.base), cipherText, &cipherTextLen);
600 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
654 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
708 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
[all …]
H A Dcrypto_sm4_cipher_test.cpp80 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
128 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
173 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
221 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
268 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
315 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
364 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
411 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
458 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
870 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
[all …]
H A Dcrypto_sm4_cfb_cipher_test.cpp75 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
123 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
171 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
219 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
267 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
315 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
747 ret = Sm4Encrypt(cipher, key, (HcfParamsSpec *)&spec, cipherText, &cipherTextLen);
818 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
856 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
H A Dcrypto_sm4_ecb_cipher_test.cpp74 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
121 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
169 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
740 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
806 ret = Sm4Encrypt(cipher, key, nullptr, cipherText, &cipherTextLen);
H A Dsm4_common.cpp142 int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4Encrypt() function
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
H A Dhcfciphercreate_fuzzer.cpp113 static int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Encrypt() function
253 (void)Sm4Encrypt(cipher, key, &input, cipherText, &cipherTextLen); in TestSm4Cipher()
296 (void)Sm4Encrypt(cipher, key, &input, cipherText, &cipherTextLen); in TestSm4GcmCipher()
/ohos5.0/base/security/crypto_framework/test/unittest/include/
H A Dsm4_common.h38 int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params,