Home
last modified time | relevance | path

Searched refs:pubKey1 (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_asym_key_test.cpp165 OH_CryptoPubKey *pubKey1 = OH_CryptoKeyPair_GetPubKey(dupKeyPair); variable
169 ret = OH_CryptoPubKey_GetParam(pubKey1, CRYPTO_RSA_N_DATABLOB, &dataBlob);
206 OH_CryptoPubKey *pubKey1 = OH_CryptoKeyPair_GetPubKey(dupKeyPair); variable
210 ret = OH_CryptoPubKey_GetParam(pubKey1, CRYPTO_ED25519_PK_DATABLOB, &dataBlob);
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_aes_func.cpp302 uint8_t pubKey1[TEST_AES_128] = {0}; in TestAes256ByAgree() local
304 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree()
368 uint8_t pubKey1[TEST_AES_128] = {0}; in TestAes256ByAgree1() local
370 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree1()
435 uint8_t pubKey1[TEST_AES_128] = {0}; in TestAes256ByAgree2() local
437 struct HksBlob pubKeyBlob1 = { TEST_AES_128, pubKey1 }; in TestAes256ByAgree2()
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-convert-string-data-to-asym-key-pair-ndk.md65 OH_CryptoPubKey *pubKey1 = OH_CryptoKeyPair_GetPubKey(dupKeyPair);
67 ret = OH_CryptoPubKey_Encode(pubKey1, CRYPTO_PEM, "PKCS1", &retBlob);
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-convert-string-data-to-asym-key-pair-ndk.md65 OH_CryptoPubKey *pubKey1 = OH_CryptoKeyPair_GetPubKey(dupKeyPair);
67 ret = OH_CryptoPubKey_Encode(pubKey1, CRYPTO_PEM, "PKCS1", &retBlob);
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_agree_test.cpp1087 struct HksBlob pubKey1 = { 0, nullptr }; in TestAgreeOp() local
1089 int32_t ret = ConstructAgreePubKey(alg, keySize, 0, &pubKey1); in TestAgreeOp()
1095 HKS_FREE(pubKey1.data); in TestAgreeOp()
1112 ret = TestAgree(keyAlias2, &pubKey1, &agreeKey2); in TestAgreeOp()
1120 HKS_FREE(pubKey1.data); in TestAgreeOp()
H A Dhks_access_control_rsa_sign_verify_test_common.cpp645 uint8_t pubKey1[HKS_RSA_KEY_SIZE_1024] = {0}; in AcRsaSignTestCustomCase() local
646 struct HksBlob publicKey1 = { HKS_RSA_KEY_SIZE_1024, pubKey1 }; in AcRsaSignTestCustomCase()
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_dh_asy_key_generator_by_spec_test.cpp1323 HcfPubKey *pubKey1 = nullptr; variable
1324 res = returnSpi->engineGeneratePubKeyBySpec(returnSpi, paramSpec1, &pubKey1);
1326 ASSERT_EQ(pubKey1, nullptr);
1330 HcfObjDestroy(pubKey1);