Home
last modified time | relevance | path

Searched refs:tmpGenerator (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_x25519_asy_key_generator_test.cpp485 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
487 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
497 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
508 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
512 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
516 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
571 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
573 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
583 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
594 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]
H A Dcrypto_dh_asy_key_generator_test.cpp724 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
726 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
736 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
747 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
751 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
755 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
814 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
816 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
823 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
831 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]
H A Dcrypto_brainpool_asy_key_generator_test.cpp1142 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
1144 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1154 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1165 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1169 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
1173 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1231 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
1233 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
1243 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
1254 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]
H A Dcrypto_ed25519_asy_key_generator_test.cpp572 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
574 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
584 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
595 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
599 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
603 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
662 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
664 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
674 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
685 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]
H A Dcrypto_sm2_asy_key_generator_test.cpp1545 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
1547 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1557 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1568 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1572 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
1576 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
1635 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
1637 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
1647 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
1658 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]
H A Dcrypto_ecc_asy_key_generator_test.cpp2178 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in MemoryMallocTestFunc()
2180 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
2190 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
2201 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
2205 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
2209 HcfObjDestroy(tmpGenerator); in MemoryMallocTestFunc()
2268 res = tmpGenerator->generateKeyPair(tmpGenerator, nullptr, &tmpKeyPair); in OpensslMockTestFunc()
2270 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
2280 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
2291 HcfObjDestroy(tmpGenerator); in OpensslMockTestFunc()
[all …]