Home
last modified time | relevance | path

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

1234

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test_mt.cpp89 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
104 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
132 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
150 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
166 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
181 HksBlob publicKey = { 0, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_256) }; variable
196 HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, nullptr }; variable
211 …HksBlob publicKey = { .size = HKS_ECC_KEY_SIZE_256, .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_… variable
Dhks_ecdh_agree_test_common.cpp23 int32_t HksEcdhAgreeFinish(const struct HksBlob *keyAlias, const struct HksBlob *publicKey, in HksEcdhAgreeFinish()
55 int32_t HksEcdhAgreeAbort(const struct HksBlob *keyAlias, const struct HksBlob *publicKey, in HksEcdhAgreeAbort()
Dhks_rsa_cipher_part5_test.cpp397 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKeyTest01 }; variable
470 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKeyTest02 }; variable
524 struct HksBlob publicKey = { HKS_RSA_KEY_SIZE_4096, (uint8_t *)tmpPublicKey }; variable
Dhks_ed25519_sign_verify_test.cpp128 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; in HksEd25519SignVerifyTestNormalCase() local
185 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; variable
251 struct HksBlob publicKey = { HKS_CURVE25519_KEY_SIZE_256, pubKey }; variable
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_crypto_adapter.c313 static int32_t FormatKeyInner(uint32_t publicKeySize, uint8_t *publicKey, const struct HksBlob *key… in FormatKeyInner()
468 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatRsaKey() local
469 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatRsaKey() local
496 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDsaKey() local
497 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc key failed.") in FormatDsaKey() local
526 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatEccKey() local
527 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatEccKey() local
552 uint8_t *publicKey = (uint8_t *)HksMalloc(publicKeySize); in FormatDhKey() local
553 HKS_IF_NULL_LOGE_RETURN(publicKey, HKS_ERROR_MALLOC_FAIL, "malloc public key failed.") in FormatDhKey() local
/base/useriam/user_auth_framework/test/fuzztest/dummy/
Ddummy_executor_callback_interface.h30 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList){}; in OnMessengerReady()
31 int32_t 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
394 HksBlob publicKey = { in SignLocalTestCase() local
459 HksBlob publicKey = { .size = rsaPublicKeyInfo.size, in SignServiceTestCase() local
527 HksBlob publicKey = { .size = pubKeyExport->blob.size, in VerifyLocalTestCase() local
Dhks_dsa_mt.cpp665 HksBlob publicKey = { in GenerateKeyTestCase() local
729 HksBlob publicKey = { in SignLocalTestCase() local
800 …HksBlob publicKey = { .size = dsaPublicKeyInfo.size, .data = (uint8_t *)HksMalloc(dsaPublicKeyInfo… in SignServiceTestCase() local
852 HksBlob publicKey = { in VerifyLocalTestCase() local
/base/security/huks/interfaces/inner_api/huks_standard/source/
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/useriam/user_auth_framework/test/unittest/services/src/
Dco_auth_service_test.cpp74 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList) { in __anon5c8a1eef0102()
83 std::vector<uint64_t> &templateIds) { in __anon5c8a1eef0202()
Dresource_node_test.cpp129 std::vector<uint8_t> publicKey; variable
160 std::vector<uint8_t> publicKey; variable
/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/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_key_chipset_platform_derive.c62 enum HksChipsetPlatformDecryptScene scene, struct HksBlob *publicKey) in HksCoreExportChipsetPlatformPublicKey()
/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()
153 std::vector<uint8_t> publicKey; in FuzzExecutorCallbackServiceOnMessengerReady() local
167 std::vector<uint8_t> publicKey; in FuzzExecutorCallbackServiceOnBeginExecute() local
/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/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.c208const struct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct H… in GetDsaPubKeyParam()
289 static int32_t DsaPublicKeyToX509(const struct HksBlob *publicKey, struct HksBlob *x509Key) in DsaPublicKeyToX509()
364 static int32_t Curve25519ToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in Curve25519ToX509PublicKey()
383 … const struct HksBlob *material1, const struct HksBlob *material2, const struct HksBlob *publicKey, in TranslateToX509PublicKeySwitchAlg()
418 int32_t TranslateToX509PublicKey(const struct HksBlob *publicKey, struct HksBlob *x509Key) in TranslateToX509PublicKey()
729 …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/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/frameworks/native/ipc/src/
Dexecutor_callback_stub.cpp67 std::vector<uint8_t> publicKey; in OnMessengerReadyStub() local
86 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()
62 …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.h41 std::vector<uint8_t> publicKey; member
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/
Dresource_node_fuzzer.cpp32 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList) override in OnMessengerReady()
40 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute()
216 std::vector<uint8_t> publicKey; in FuzzResourceNodeBeginExecute() local

1234