Searched refs:pubKeyBlob1 (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_aes_func.cpp | 304 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree() local 306 ExportPubKey(&baseKeyAlias1, &pubKeyBlob1); in TestAes256ByAgree() 315 ImportPubKey(&pubKeyAlias1, &pubKeyBlob1); in TestAes256ByAgree() 370 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree1() local 372 ExportPubKey(&baseKeyAlias1, &pubKeyBlob1); in TestAes256ByAgree1() 381 ImportPubKey(&pubKeyAlias1, &pubKeyBlob1); in TestAes256ByAgree1() 437 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree2() local 439 ExportPubKey(&baseKeyAlias1, &pubKeyBlob1); in TestAes256ByAgree2() 448 GenerateAesAgreeKey(&aesKeyAlias2, &baseKeyAlias2, &pubKeyBlob1, true, false); in TestAes256ByAgree2()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_rsa_asy_key_generator_test.cpp | 548 HcfBlob pubKeyBlob1 = {.data = nullptr, .len = 0}; variable 550 res = keyPair->pubKey->base.getEncoded((HcfKey *)keyPair->pubKey, &pubKeyBlob1); 556 res = generator->convertKey(generator, nullptr, &pubKeyBlob1, &priKeyBlob1, &dupKeyPair1); 569 HcfFree(pubKeyBlob1.data);
|