Home
last modified time | relevance | path

Searched defs:publicKey (Results 1 – 25 of 66) sorted by relevance

123

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_export_test_mt.cpp72 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
87 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
115 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
133 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
149 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
164 HksBlob publicKey = { 0, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_224) }; variable
179 HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, nullptr }; variable
194 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_224, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
Dhks_rsa_cipher_part5_test.cpp321 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
394 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
448 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
Dhks_ecdh_agree_test_common.cpp22 int32_t HksEcdhAgreeFinish(const struct HksBlob *keyAlias, const struct HksBlob *publicKey, in HksEcdhAgreeFinish()
54 int32_t HksEcdhAgreeAbort(const struct HksBlob *keyAlias, const struct HksBlob *publicKey, in HksEcdhAgreeAbort()
Dhks_ed25519_sign_verify_test.cpp124 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; in HksEd25519SignVerifyTestNormalCase() local
181 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; variable
247 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; variable
Dhks_rsa_cipher_test_common.cpp121 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_1024, tmpPublicKey }; in HksRsaCipherTestCase() local
157 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_1024, tmpPublicKey }; in HksRsaCipherTestCaseAbnormal() local
/base/security/huks/interfaces/innerkits/huks_standard/main/src/
Dhks_api_adapter.c72 struct HksBlob publicKey = { 0, NULL }; in HksAgreeKeyAdapter() local
93 struct HksBlob publicKey = { MAX_KEY_SIZE, buffer }; in HksExportPublicKeyAdapter() local
/base/useriam/user_auth_framework/frameworks/native/client/src/
Dexecutor_callback_service.cpp33 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList) in OnMessengerReady()
47 …ExecutorCallbackService::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp53 HksBlob publicKey = { .size = pubKeyExport->blob.size, .data = in GenerateKeyTestCase() local
118 HksBlob publicKey = { .size = pubKeyExport->blob.size, in EncryptLocalTestCase() local
249 HksBlob publicKey = { .size = pubKeyExport->blob.size, .data = in DecryptLocalTestCase() local
318 HksBlob publicKey = { .size = rsaPublicKeyInfo.size, in DecryptServiceTestCase() local
393 HksBlob publicKey = { in SignLocalTestCase() local
458 HksBlob publicKey = { .size = rsaPublicKeyInfo.size, in SignServiceTestCase() local
526 HksBlob publicKey = { .size = pubKeyExport->blob.size, in VerifyLocalTestCase() local
Dhks_dsa_mt.cpp647 HksBlob publicKey = { in GenerateKeyTestCase() local
710 HksBlob publicKey = { in SignLocalTestCase() local
781 …HksBlob publicKey = { .size = dsaPublicKeyInfo.size, .data = (uint8_t *)HksMalloc(dsaPublicKeyInfo… in SignServiceTestCase() local
833 HksBlob publicKey = { in VerifyLocalTestCase() local
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_crypto_adapter.c403 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatRsaKey() local
404 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatRsaKey() local
454 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDsaKey() local
455 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc key failed.") in FormatDsaKey() local
495 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatEccKey() local
496 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatEccKey() local
532 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDhKey() local
533 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatDhKey() local
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Dexecutor_callback_proxy_test.cpp48 std::vector<uint8_t> publicKey; variable
76 std::vector<uint8_t> publicKey; variable
98 std::vector<uint8_t> publicKey; variable
Dexecutor_callback_stub_test.cpp50 std::vector<uint8_t> publicKey; variable
73 std::vector<uint8_t> publicKey; variable
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/
Dco_auth_client_fuzzer.cpp36 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIds) in OnMessengerReady()
44 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
148 std::vector<uint8_t> publicKey; in FuzzExecutorCallbackServiceOnMessengerReady() local
162 std::vector<uint8_t> publicKey; in FuzzExecutorCallbackServiceOnBeginExecute() local
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_lite.c212 static int32_t Curve25519ToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in Curve25519ToX509PublicKey()
234 int32_t TranslateToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in TranslateToX509PublicKey()
408 …lateFromX509PublicKey(const uint32_t alg, const struct HksBlob *x509Key, struct HksBlob *publicKey) in TranslateFromX509PublicKey()
Dhks_client_service_adapter.c195const struct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct H… in GetDsaPubKeyParam()
276 static int32_t DsaPublicKeyToX509(const struct HksBlob *publicKey, struct HksBlob *x509Key) in DsaPublicKeyToX509()
351 static int32_t Curve25519ToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in Curve25519ToX509PublicKey()
369 int32_t TranslateToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in TranslateToX509PublicKey()
640 …lateFromX509PublicKey(const uint32_t alg, const struct HksBlob *x509Key, struct HksBlob *publicKey) in TranslateFromX509PublicKey()
Dhks_client_service_adapter_common.c52 struct HksBlob *publicKey) in TranslateToInnerCurve25519Format()
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Dexecutor_callback_stub.cpp64 std::vector<uint8_t> publicKey; in OnMessengerReadyStub() local
83 std::vector<uint8_t> publicKey; in OnBeginExecuteStub() local
Dexecutor_callback_proxy.cpp28 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList) in OnMessengerReady()
61 …t ExecutorCallbackProxy::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Dco_auth_interface.h43 std::vector<uint8_t> publicKey; member
/base/update/ota_lite/frameworks/source/verify/
Dapp_rsa.c31 int32 AppRsaDecodePublicKey(AppRsaContext *rsa, const uint8 *publicKey, uint32 length) in AppRsaDecodePublicKey()
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/
Dresource_node_fuzzer.cpp31 …nMessengerReady(sptr<ExecutorMessengerInterface> &messenger, const std::vector<uint8_t> &publicKey, in OnMessengerReady()
40 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
197 std::vector<uint8_t> publicKey; in FuzzResourceNodeBeginExecute() local
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_test.cpp129 std::vector<uint8_t> publicKey; variable
160 std::vector<uint8_t> publicKey; variable
/base/useriam/user_auth_framework/common/executors/src/framework/
Dframework_executor_callback.cpp47 …ameworkExecutorCallback::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
55 …rameworkExecutorCallback::OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t> &publicKey, in OnBeginExecuteInner()
98 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIds) in OnMessengerReady()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dmbedtls_ec_adapter.c134 static int32_t ReadEcPublicKey(mbedtls_ecp_point *point, const Blob *publicKey) in ReadEcPublicKey()
155 static int32_t WriteOutEcPublicKey(const mbedtls_ecp_point *point, Blob *publicKey) in WriteOutEcPublicKey()
166 static int32_t EcKeyAgreement(const Blob *privateKey, const Blob *publicKey, Blob *secretKey) in EcKeyAgreement()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_attest_utils.c115 uint8_t *publicKey = (uint8_t *)(info + 1); in GetEcPublicKey() local
132 uint8_t *publicKey = (uint8_t *)(info + 1); in ConstructKeySeq() local

123