Home
last modified time | relevance | path

Searched refs:HcfSymKeyGeneratorCreate (Results 1 – 12 of 12) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_generator_test.cpp60 int32_t ret = HcfSymKeyGeneratorCreate(algoName, &generator); in GenerateSymKey()
82 ret = HcfSymKeyGeneratorCreate(inputAlgoName, &generator);
118 ret = HcfSymKeyGeneratorCreate(inputAlgoName, &generator);
144 ret = HcfSymKeyGeneratorCreate(inputAlgoName, &generator);
201 ret = HcfSymKeyGeneratorCreate(inputAlgoName, &generator);
256 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
292 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
331 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
372 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
415 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
[all …]
Dcrypto_sm3_mac_test.cpp146 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
186 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
214 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
259 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
297 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
332 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
380 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
406 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
442 ret = HcfSymKeyGeneratorCreate("AES192", &generator);
475 ret = HcfSymKeyGeneratorCreate("AES256", &generator);
[all …]
Dcrypto_3des_cipher_test.cpp59 HcfResult ret = HcfSymKeyGeneratorCreate("3DES192", &generator); in GenerateDesSymKey()
237 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
284 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
332 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
384 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
435 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
485 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
535 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
587 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
637 ret = HcfSymKeyGeneratorCreate("3DES192", &generator);
[all …]
Dcrypto_mac_test.cpp150 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
190 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
218 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
263 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
301 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
336 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
384 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
410 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
446 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
482 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
[all …]
Dcrypto_sm4_cipher_test.cpp62 HcfResult ret = HcfSymKeyGeneratorCreate("SM4_128", &generator); in GenerateSm4SymKey()
80 int32_t ret = HcfSymKeyGeneratorCreate(algoName, &generator); in GenerateSymKey()
339 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
386 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
434 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
482 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
530 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
576 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
623 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
671 ret = HcfSymKeyGeneratorCreate("SM4_128", &generator);
[all …]
Dcrypto_aes_cipher_test.cpp87 int32_t ret = HcfSymKeyGeneratorCreate(algoName, &generator); in GenerateSymKey()
110 int32_t ret = HcfSymKeyGeneratorCreate(algoName, &generator); in ConvertSymKey()
568 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
619 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
664 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
715 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
766 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
817 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
868 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
919 ret = HcfSymKeyGeneratorCreate("AES128", &generator);
[all …]
/base/security/crypto_framework/interfaces/innerkits/key/
Dsym_key_generator.h63 HcfResult HcfSymKeyGeneratorCreate(const char *algoName, HcfSymKeyGenerator **returnObj);
/base/security/crypto_framework/test/fuzztest/key/symkeygenerator_fuzzer/
Dsymkeygenerator_fuzzer.cpp33 ret = HcfSymKeyGeneratorCreate(algoName.c_str(), &generator); in SymKeyGeneratorFuzzTest()
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/
Dhcfmaccreate_fuzzer.cpp39 (void)HcfSymKeyGeneratorCreate("AES128", &generator); in TestMac()
/base/security/crypto_framework/frameworks/key/
Dsym_key_generator.c182 HcfResult HcfSymKeyGeneratorCreate(const char *algoName, HcfSymKeyGenerator **returnObj) in HcfSymKeyGeneratorCreate() function
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
Dhcfciphercreate_fuzzer.cpp123 ret = HcfSymKeyGeneratorCreate("AES128", &generator); in TestAesCipher()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_sym_key_generator.cpp396 HcfResult res = HcfSymKeyGeneratorCreate(algoName.c_str(), &generator); in CreateSymKeyGenerator()