/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_sm4_gcm_cipher_test.cpp | 79 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 D | crypto_sm4_cipher_test.cpp | 80 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 D | crypto_sm4_cfb_cipher_test.cpp | 75 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 D | crypto_sm4_ecb_cipher_test.cpp | 74 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 D | sm4_common.cpp | 142 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 D | hcfciphercreate_fuzzer.cpp | 113 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 D | sm4_common.h | 38 int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params,
|