/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_export_test_mt.cpp | 72 …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
|
D | hks_rsa_cipher_part5_test.cpp | 321 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
|
D | hks_ecdh_agree_test_common.cpp | 22 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()
|
D | hks_ed25519_sign_verify_test.cpp | 124 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
|
D | hks_rsa_cipher_test_common.cpp | 121 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/ |
D | hks_api_adapter.c | 72 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/ |
D | executor_callback_service.cpp | 33 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/ |
D | hks_rsa_common_mt.cpp | 53 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
|
D | hks_dsa_mt.cpp | 647 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/ |
D | hks_crypto_adapter.c | 403 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/ |
D | executor_callback_proxy_test.cpp | 48 std::vector<uint8_t> publicKey; variable 76 std::vector<uint8_t> publicKey; variable 98 std::vector<uint8_t> publicKey; variable
|
D | executor_callback_stub_test.cpp | 50 std::vector<uint8_t> publicKey; variable 73 std::vector<uint8_t> publicKey; variable
|
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/ |
D | co_auth_client_fuzzer.cpp | 36 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/ |
D | hks_client_service_adapter_lite.c | 212 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()
|
D | hks_client_service_adapter.c | 195 …const 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()
|
D | hks_client_service_adapter_common.c | 52 struct HksBlob *publicKey) in TranslateToInnerCurve25519Format()
|
/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
D | executor_callback_stub.cpp | 64 std::vector<uint8_t> publicKey; in OnMessengerReadyStub() local 83 std::vector<uint8_t> publicKey; in OnBeginExecuteStub() local
|
D | executor_callback_proxy.cpp | 28 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/ |
D | co_auth_interface.h | 43 std::vector<uint8_t> publicKey; member
|
/base/update/ota_lite/frameworks/source/verify/ |
D | app_rsa.c | 31 int32 AppRsaDecodePublicKey(AppRsaContext *rsa, const uint8 *publicKey, uint32 length) in AppRsaDecodePublicKey()
|
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/ |
D | resource_node_fuzzer.cpp | 31 …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/ |
D | resource_node_test.cpp | 129 std::vector<uint8_t> publicKey; variable 160 std::vector<uint8_t> publicKey; variable
|
/base/useriam/user_auth_framework/common/executors/src/framework/ |
D | framework_executor_callback.cpp | 47 …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/ |
D | mbedtls_ec_adapter.c | 134 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/ |
D | hks_attest_utils.c | 115 uint8_t *publicKey = (uint8_t *)(info + 1); in GetEcPublicKey() local 132 uint8_t *publicKey = (uint8_t *)(info + 1); in ConstructKeySeq() local
|