Searched refs:g_correctInput (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfsm2create_fuzzer/ |
H A D | hcfsm2create_fuzzer.cpp | 40 static HcfBlob g_correctInput = { variable 136 if (g_correctInput.len == output.len) { in TestHcfGenCipherTextBySpec() 137 (void)memcmp(output.data, g_correctInput.data, g_correctInput.len); in TestHcfGenCipherTextBySpec() 161 if (g_correctInput.len == output.len) { in TestHcfGenCipherTextByXSpec() 162 (void)memcmp(output.data, g_correctInput.data, g_correctInput.len); in TestHcfGenCipherTextByXSpec() 186 if (g_correctInput.len == output.len) { in TestHcfGenCipherTextByYSpec() 187 (void)memcmp(output.data, g_correctInput.data, g_correctInput.len); in TestHcfGenCipherTextByYSpec() 208 HcfResult res = HcfGetCipherTextSpec(&g_correctInput, sm2Mode, &spec); in TestHcfGetCipherTextSpec()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/sm2/ |
H A D | crypto_sm2_util_test.cpp | 55 static HcfBlob g_correctInput = { variable 277 res = memcmp(output.data, g_correctInput.data, g_correctInput.len); 293 res = memcmp(output.data, g_correctInput.data, g_correctInput.len); 454 HcfResult res = HcfGetCipherTextSpec(&g_correctInput, g_sm2ModeC1C3C2, &spec); 463 HcfResult res = HcfGetCipherTextSpec(&g_correctInput, NULL, &spec); 472 HcfResult res = HcfGetCipherTextSpec(&g_correctInput, g_sm2ModeError, &spec); 495 HcfResult res = HcfGetCipherTextSpec(&g_correctInput, g_sm2ModeC1C3C2, NULL); 509 res = memcmp(output.data, g_correctInput.data, g_correctInput.len); 570 HcfResult res = HcfAsn1ToSm2Spec(&g_correctInput, &spec);
|