Home
last modified time | relevance | path

Searched refs:tmpPriKeyBlob (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.cpp500 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
504 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
512 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
514 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
586 HcfBlob tmpPriKeyBlob = { in OpensslMockTestFunc() local
590 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
598 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
600 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()
H A Dcrypto_dh_asy_key_generator_test.cpp739 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
743 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
751 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
753 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
826 HcfBlob tmpPriKeyBlob = { .data = nullptr, .len = 0 }; in OpensslMockTestFunc() local
827 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
835 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
837 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()
H A Dcrypto_brainpool_asy_key_generator_test.cpp1157 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
1161 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
1169 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
1171 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
1246 HcfBlob tmpPriKeyBlob = { in OpensslMockTestFunc() local
1250 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
1258 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
1260 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()
H A Dcrypto_ed25519_asy_key_generator_test.cpp587 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
591 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
599 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
601 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
677 HcfBlob tmpPriKeyBlob = { in OpensslMockTestFunc() local
681 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
689 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
691 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()
H A Dcrypto_sm2_asy_key_generator_test.cpp1560 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
1564 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
1572 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
1574 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
1650 HcfBlob tmpPriKeyBlob = { in OpensslMockTestFunc() local
1654 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
1662 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
1664 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()
H A Dcrypto_ecc_asy_key_generator_test.cpp2193 HcfBlob tmpPriKeyBlob = { in MemoryMallocTestFunc() local
2197 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in MemoryMallocTestFunc()
2205 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in MemoryMallocTestFunc()
2207 HcfFree(tmpPriKeyBlob.data); in MemoryMallocTestFunc()
2283 HcfBlob tmpPriKeyBlob = { in OpensslMockTestFunc() local
2287 res = tmpKeyPair->priKey->base.getEncoded(&(tmpKeyPair->priKey->base), &tmpPriKeyBlob); in OpensslMockTestFunc()
2295 …res = tmpGenerator->convertKey(tmpGenerator, nullptr, &tmpPubKeyBlob, &tmpPriKeyBlob, &tmpOutKeyPa… in OpensslMockTestFunc()
2297 HcfFree(tmpPriKeyBlob.data); in OpensslMockTestFunc()