Home
last modified time | relevance | path

Searched refs:HksImportKey (Results 1 – 25 of 42) sorted by relevance

12

/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportkey_fuzzer/
Dhksimportkey_fuzzer.cpp47 (void)HksImportKey(&keyAlias, paramSet, &pubKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/interfaces/inner_api/huks_standard/main/
Dlibhukssdk.map20 HksImportKey;
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_rsa_sign_verify_test_common.cpp73 ret = HksImportKey(&newKeyAlias, genParamSet, &publicKey); in RsaSignVerifyTestNormalCase()
75 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in RsaSignVerifyTestNormalCase()
244 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in RSASignVerifyTestAbnormalCase()
Dhks_rsa_cipher_test_common.cpp127 ret = HksImportKey(&newKeyAlias, encryptParamSet, &publicKey); in HksRsaCipherTestCase()
163 ret = HksImportKey(&newKeyAlias, encryptParamSet, &publicKey); in HksRsaCipherTestCaseAbnormal()
Dhks_rsa_cipher_part5_test.cpp341 ret = HksImportKey(&newKeyAlias, encryptParamSet, &publicKey);
414 ret = HksImportKey(&newKeyAlias, encryptParamSet, &publicKey);
468 ret = HksImportKey(&newKeyAlias, encryptParamSet, &publicKey);
Dhks_ecc_sign_verify_test_common.cpp96 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in HksEccSignVerifyTestNormalCase()
Dhks_ed25519_sign_verify_test.cpp140 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in HksEd25519SignVerifyTestNormalCase()
197 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey);
263 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey);
Dhks_rsa_sign_verify_part8_test.cpp419 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey);
/base/security/huks/interfaces/kits/c/src/
Dnative_huks_api.c45 int32_t result = HksImportKey((const struct HksBlob *) keyAlias, in OH_Huks_ImportKeyItem()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h69 HKS_API_EXPORT int32_t HksImportKey(const struct HksBlob *keyAlias,
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_import_key_item.cpp120 …napiContext->result = HksImportKey(napiContext->keyAlias, napiContext->paramSet, napiContext->key); in ImportKeyAsyncWork()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_import_key.cpp125 napiContext->result = HksImportKey(napiContext->keyAlias, in ImportKeyAsyncWork()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_wrapped_test_common.cpp145 …int32_t ret = HksImportKey(params->callerKekAlias, params->importCallerKekParamSet, params->caller… in ImportKekAndAgreeSharedSecret()
160 ret = HksImportKey(params->callerAgreeKeyAlias, importAgreeKeyParams, outSharedKey); in ImportKekAndAgreeSharedSecret()
Dhks_access_control_rsa_sign_verify_test_common.cpp430 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in AcRsaSignVerifyTestNormalCase()
518 ret = HksImportKey(&newKeyAlias, verifyParamSet, &publicKey); in AcRsaSignVerifyTestAbnormalCase()
581 ret = HksImportKey(&newKeyAlias1, verifyParamSet1, publicKey1); in HksAcRsaVerifyTestCustomCase()
589 ret = HksImportKey(&newKeyAlias2, verifyParamSet2, publicKey2); in HksAcRsaVerifyTestCustomCase()
Dhks_import_wrapped_sm2_suite_test.cpp546 … ret = HksImportKey(&g_importPublicKeyToEncryptData, params->sm2EncryptParam, &huksPublicKey); in importSmKey()
565 ret = HksImportKey(params->importKekAlias, params->importKekParam, kekData); in importSmKey()
573 … ret = HksImportKey(params->importderiveKey1Alias, params->importderiveKey1Param, &deriveKey1Blob); in importSmKey()
575 … ret = HksImportKey(params->importderiveKey2Alias, params->importderiveKey2Param, &deriveKey2Blob); in importSmKey()
894 ret = HksImportKey(&importKeyAlias, encryptSm4ParamSet, &g_importedSm4KeyPlainKey);
Dhks_chipset_platform_encrypt_test.cpp329 ret = HksImportKey(&sharedKeyAlias, importParamSet.s, &sharedKey); in HmacWrapKey()
376 ret = HksImportKey(&wrapKeyAlias, importParamSet.s, &wrapKey); in AesGcmEncrypt()
Dhks_cross_test_common.cpp39 return HksImportKey(newKeyAlias, secondParamSet, &publicKey); in HksCrossTestImportKey()
Dhks_import_rsa_test.cpp644 ret = HksImportKey(keyAlias, paramSet, &key); in ImportKey()
666 ret = HksImportKey(keyAlias, paramSet, &key); in ImportKeyNew()
Dhks_sm2_sign_verify_test.cpp479 ret = HksImportKey(&importKeyAlias, verifyParamSet, &publicKey); in HksSm2SignVerifyTestRun()
Dhks_check_auth_part_test.cpp392 ret = HksImportKey(&newKeyAlias, initParamSet, &publicKey); in CheckImportAuthTest()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp428 int32_t ret = HksImportKey(nullptr, nullptr, nullptr);
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_key_operation.c199 ret = HksImportKey(&keyAlias, paramSet, &key); in CmKeyOpImportKey()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp202 EXPECT_EQ(HksImportKey(&authId, paramInSet, &x509Key), HKS_SUCCESS); in EncryptServiceTestCase()
576 EXPECT_EQ(HksImportKey(&authId, paramInSet, &x509Key), HKS_SUCCESS); in VerifyServiceTestCase()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c324 HKS_TEST_ASSERT(HksImportKey(alias, paramSet, pubKey) == 0); in ImportPubKey()
Dhks_test_curve25519.c190 ret = HksImportKey(&alias, paramSet, pubKeyInfo); in TestImportEd25519()

12