Home
last modified time | relevance | path

Searched defs:privateKey (Results 1 – 25 of 49) sorted by relevance

12

/base/security/certificate_framework/test/unittest/v1.0/src/
Dcrypto_x509_csr_test.cpp124 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
157 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
180 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
200 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
253 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
313 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
345 const string& privateKey; member
361 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
411 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
440 PrivateKeyInfo *privateKey = (PrivateKeyInfo *)CfMalloc(sizeof(PrivateKeyInfo), 0); variable
[all …]
Dcrypto_x509_cert_cms_generator_test.cpp425 PrivateKeyInfo *privateKey = nullptr; variable
485 PrivateKeyInfo *privateKey = nullptr; variable
534 PrivateKeyInfo *privateKey = nullptr; variable
593 PrivateKeyInfo *privateKey = nullptr; variable
642 PrivateKeyInfo *privateKey = nullptr; variable
678 PrivateKeyInfo *privateKey = nullptr; variable
729 PrivateKeyInfo *privateKey = nullptr; variable
828 PrivateKeyInfo *privateKey = nullptr; variable
872 PrivateKeyInfo *privateKey = nullptr; variable
916 PrivateKeyInfo *privateKey = nullptr; variable
[all …]
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_agreement_test.cpp79 …nt32_t AgreeKey(const struct HksTestAgreeParamSet *agreeParamSetParams, struct HksBlob *privateKey, in AgreeKey()
106 struct HksBlob *privateKey = NULL; variable
155 struct HksBlob *privateKey = NULL; variable
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_cert_cms_generator_openssl.c105 static CfResult IsInvalidPrivateKeyPassword(const PrivateKeyInfo *privateKey) in IsInvalidPrivateKeyPassword()
115 static CfResult ConvertPemToKey(const PrivateKeyInfo *privateKey, EVP_PKEY **pkey) in ConvertPemToKey()
146 static CfResult ConvertDerToKey(const PrivateKeyInfo *privateKey, EVP_PKEY **pkey) in ConvertDerToKey()
181 static CfResult GetPrivateKey(const PrivateKeyInfo *privateKey, EVP_PKEY **pkey) in GetPrivateKey()
192const PrivateKeyInfo *privateKey, const HcfCmsSignerOptions *options) in CheckSignerParam()
217const PrivateKeyInfo *privateKey, const HcfCmsSignerOptions *options) in AddSignerOpenssl()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_agreement_test.c81 …nt32_t AgreeKey(const struct HksTestAgreeParamSet *agreeParamSetParams, struct HksBlob *privateKey, in AgreeKey()
108 struct HksBlob *privateKey = NULL; in LITE_TEST_CASE() local
158 struct HksBlob *privateKey = NULL; in LITE_TEST_CASE() local
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_agreement_test.cpp79 …nt32_t AgreeKey(const struct HksTestAgreeParamSet *agreeParamSetParams, struct HksBlob *privateKey, in AgreeKey()
106 struct HksBlob *privateKey = NULL; variable
Dhks_test_api_performance.c170 int32_t HksAgreeKeyRun(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksAgreeKeyRun()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp60 HksBlob privateKey = { .size = priKeyExport->blob.size, .data = in GenerateKeyTestCase() local
126 HksBlob privateKey = { .size = priKeyExport->blob.size, in EncryptLocalTestCase() local
257 HksBlob privateKey = { .size = priKeyExport->blob.size, .data = in DecryptLocalTestCase() local
373 HksBlob privateKey = { .size = priKeyExportTest->blob.size, in SignLocalTestCase() local
500 HksBlob privateKey = { .size = priKeyExport->blob.size, in VerifyLocalTestCase() local
Dhks_dsa_mt.cpp674 HksBlob privateKey = { in GenerateKeyTestCase() local
738 HksBlob privateKey = { in SignLocalTestCase() local
862 HksBlob privateKey = { in VerifyLocalTestCase() local
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksagreekey_fuzzer/
Dhksagreekey_fuzzer.cpp38 …struct HksBlob privateKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) … in DoSomethingInterestingWithMyAPI() local
/base/security/huks/interfaces/inner_api/huks_standard/source/
Dhks_api_adapter.c70 int32_t HksAgreeKeyAdapter(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksAgreeKeyAdapter()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
Decdh_openssl.c61 static EVP_PKEY *NewPKeyByEccPriKey(HcfOpensslEccPriKey *privateKey) in NewPKeyByEccPriKey()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Ddsa_openssl.c64 static bool IsSignInitInputValid(HcfSignSpi *self, HcfPriKey *privateKey) in IsSignInitInputValid()
188 static HcfResult EngineDsaSignInit(HcfSignSpi *self, HcfParamsSpec *params, HcfPriKey *privateKey) in EngineDsaSignInit()
211 …sult EngineDsaSignWithoutDigestInit(HcfSignSpi *self, HcfParamsSpec *params, HcfPriKey *privateKey) in EngineDsaSignWithoutDigestInit()
Dsignature_rsa_openssl.c197 static HcfResult SetOnlySignParams(HcfSignSpiRsaOpensslImpl *impl, HcfPriKey *privateKey) in SetOnlySignParams()
236 static HcfResult SetSignParams(HcfSignSpiRsaOpensslImpl *impl, HcfPriKey *privateKey) in SetSignParams()
274 static HcfResult EngineSignInit(HcfSignSpi *self, HcfParamsSpec *params, HcfPriKey *privateKey) in EngineSignInit()
Dsm2_openssl.c169 static bool IsSm2SignInitInputValid(HcfSignSpi *self, HcfPriKey *privateKey) in IsSm2SignInitInputValid()
188 static HcfResult EngineSignInit(HcfSignSpi *self, HcfParamsSpec *params, HcfPriKey *privateKey) in EngineSignInit()
Ded25519_openssl.c96 static HcfResult EngineSignInit(HcfSignSpi *self, HcfParamsSpec *params, HcfPriKey *privateKey) in EngineSignInit()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_utils.cpp242 static bool AllocatePrivateKey(PrivateKeyInfo **privateKey) in AllocatePrivateKey()
267 static bool CopyBlobDataToPrivateKey(CfBlob *blob, CfEncodingBlob *privateKey) in CopyBlobDataToPrivateKey()
284 static bool GetPrivateKeyFromValue(napi_env env, napi_value obj, PrivateKeyInfo **privateKey) in GetPrivateKeyFromValue()
327 …atic bool GetPrivateKeyPasswordFromValue(napi_env env, napi_value obj, PrivateKeyInfo **privateKey) in GetPrivateKeyPasswordFromValue()
344 bool GetPrivateKeyInfoFromValue(napi_env env, napi_value obj, PrivateKeyInfo **privateKey) in GetPrivateKeyInfoFromValue()
364 void FreePrivateKeyInfo(PrivateKeyInfo *privateKey) in FreePrivateKeyInfo()
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_cms_generator.c80 const PrivateKeyInfo *privateKey, const HcfCmsSignerOptions *options) in AddSigner()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c83 int32_t HksAccessAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksAccessAgreeKey()
/base/security/certificate_framework/interfaces/inner_api/certificate/
Dx509_certificate.h28 CfEncodingBlob *privateKey; member
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_ipc_check.c152 int32_t HksCheckIpcAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksCheckIpcAgreeKey()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_api_performance.c164 int32_t HksAgreeKeyRun(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksAgreeKeyRun()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
Dhuks_hdi_access.c334 …ic int32_t HdiProxyAgreeKey(const struct HuksParamSet *paramSet, const struct HuksBlob *privateKey, in HdiProxyAgreeKey()
344 …FI(int32_t HuksAccessAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in ENABLE_CFI()
Dhuks_access.c226 …FI(int32_t HuksAccessAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in ENABLE_CFI()
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/idl/src/
Dhuks_access_mock.c138 …FI(int32_t HuksAccessAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in ENABLE_CFI()

12