Home
last modified time | relevance | path

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

1234

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test_mt.cpp94 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
109 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
137 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
155 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
171 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
186 HksBlob publicKey = { 0, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_256) }; variable
201 HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, nullptr }; variable
216 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
Dhks_rsa_cipher_part5_test.cpp330 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
403 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
457 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.cpp133 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; in HksEd25519SignVerifyTestNormalCase() local
190 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; variable
256 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/frameworks/huks_standard/main/common/src/
Dhks_crypto_adapter.c265 static int32_t FormatKeyInner(uint32_t publicKeySize, uint8_t *publicKey, const struct HksBlob *key… in FormatKeyInner()
420 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatRsaKey() local
421 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatRsaKey() local
448 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDsaKey() local
449 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc key failed.") in FormatDsaKey() local
478 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatEccKey() local
479 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatEccKey() local
504 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDhKey() local
505 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatDhKey() local
/base/security/huks/interfaces/inner_api/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()
48 …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/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/executorcallbackstub_fuzzer/
Dexecutor_callback_stub_fuzzer.cpp40 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIds) in OnMessengerReady()
48 int32_t 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.h39 std::vector<uint8_t> publicKey; member
/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()
149 std::vector<uint8_t> publicKey; in FuzzExecutorCallbackServiceOnMessengerReady() local
163 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.c319const struct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct H… in GetDsaPubKeyParam()
400 static int32_t DsaPublicKeyToX509(const struct HksBlob *publicKey, struct HksBlob *x509Key) in DsaPublicKeyToX509()
475 static int32_t Curve25519ToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in Curve25519ToX509PublicKey()
494 … const struct HksBlob *material1, const struct HksBlob *material2, const struct HksBlob *publicKey, in TranslateToX509PublicKeySwitchAlg()
529 int32_t TranslateToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in TranslateToX509PublicKey()
840 …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/update/sys_installer_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()
198 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
Dco_auth_service_test.cpp73 std::vector<uint64_t> &templateIds) { in __anonc3c952ce0102()
/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()

1234