Home
last modified time | relevance | path

Searched defs:ecKey (Results 1 – 14 of 14) sorted by relevance

/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c103 EC_KEY *ecKey = NULL; in GenerateSm2KeyWithParamsSpec() local
146 EC_KEY *ecKey = NULL; in NewSm2KeyPairWithCommSpec() local
173 EC_KEY *ecKey = NULL; in NewSm2PubKeyWithPubSpec() local
201 EC_KEY *ecKey = NULL; in NewSm2PriKeyWithPriSpec() local
230 EC_KEY *ecKey = NULL; in NewSm2KeyWithKeyPairSpec() local
256 static HcfResult GenKeyPairSm2KeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenKeyPairSm2KeyBySpec()
273 static HcfResult GenPubKeySm2KeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenPubKeySm2KeyBySpec()
290 static HcfResult GenPriKeySm2KeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenPriKeySm2KeyBySpec()
748 static HcfResult PackSm2PubKey(int32_t curveId, EC_KEY *ecKey, const char *fieldType, in PackSm2PubKey()
801 static HcfResult PackSm2PriKey(int32_t curveId, EC_KEY *ecKey, const char *fieldType, in PackSm2PriKey()
[all …]
Decc_asy_key_generator_openssl.c644 EC_KEY *ecKey = NULL; in GenerateEcKeyWithParamsSpec() local
687 EC_KEY *ecKey = NULL; in NewEcKeyPairWithCommSpec() local
714 EC_KEY *ecKey = NULL; in NewEcPubKeyWithPubSpec() local
742 EC_KEY *ecKey = NULL; in NewEcPriKeyWithPriSpec() local
771 EC_KEY *ecKey = NULL; in NewEcKeyWithKeyPairSpec() local
797 static HcfResult GenKeyPairEcKeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenKeyPairEcKeyBySpec()
814 static HcfResult GenPubKeyEcKeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenPubKeyEcKeyBySpec()
831 static HcfResult GenPriKeyEcKeyBySpec(const HcfAsyKeyParamsSpec *params, EC_KEY **ecKey) in GenPriKeyEcKeyBySpec()
1086 EC_KEY *ecKey = impl->ecKey; in GetCompressedEccPointEncoded() local
1126 static HcfResult GetDerEccPubKeyEncoded(EC_KEY *ecKey, HcfBlob *returnBlob) in GetDerEccPubKeyEncoded()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
Decdh_openssl.c33 static EVP_PKEY *AssignEcKeyToPkey(EC_KEY *ecKey) in AssignEcKeyToPkey()
50 EC_KEY *ecKey = OpensslEcKeyDup(publicKey->ecKey); in NewPKeyByEccPubKey() local
63 EC_KEY *ecKey = OpensslEcKeyDup(privateKey->ecKey); in NewPKeyByEccPriKey() local
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Decc_openssl_common.c26 EC_KEY *ecKey = OpensslEcKeyNewByCurveName(curveId); in NewEcKeyPair() local
167 static HcfResult InitEcKeyByPubKey(const HcfPoint *pubKey, EC_KEY *ecKey) in InitEcKeyByPubKey()
211 static HcfResult InitEcKeyByPriKey(const HcfBigInteger *priKey, EC_KEY *ecKey) in InitEcKeyByPriKey()
228 static HcfResult SetEcPubKeyFromPriKey(const HcfBigInteger *priKey, EC_KEY *ecKey) in SetEcPubKeyFromPriKey()
263 HcfResult SetEcKey(const HcfPoint *pubKey, const HcfBigInteger *priKey, EC_KEY *ecKey) in SetEcKey()
Dopenssl_adapter.c125 int OpensslEcKeyGenerateKey(EC_KEY *ecKey) in OpensslEcKeyGenerateKey()
185 void OpensslEcKeySetEncFlags(EC_KEY *ecKey, unsigned int flags) in OpensslEcKeySetEncFlags()
237 EC_KEY *OpensslEcKeyDup(const EC_KEY *ecKey) in OpensslEcKeyDup()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h34 EC_KEY *ecKey; member
45 EC_KEY *ecKey; member
127 EC_KEY *ecKey; member
138 EC_KEY *ecKey; member
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_sign.cpp94 EC_KEY *ecKey = PEM_read_bio_ECPrivateKey(in, nullptr, nullptr, nullptr); in SignBuffer() local
Dpkg_algo_sign.h40 EC_KEY *ecKey; member
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter.c155 EC_KEY *ecKey = NULL; in EccToX509PublicKey() local
479 static int32_t EcKeyToPublicKey(const uint32_t alg, const EC_KEY *ecKey, struct HksBlob *eccPublicK… in EcKeyToPublicKey()
536 const EC_KEY *ecKey = EVP_PKEY_get0_EC_KEY(pkey); in X509PublicKeyToEcc() local
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Decdsa_openssl.c138 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPriKey *)privateKey)->ecKey); in EngineSignInit() local
260 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPubKey *)publicKey)->ecKey); in EngineVerifyInit() local
Dsm2_openssl.c195 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslSm2PriKey *)privateKey)->ecKey); in EngineSignInit() local
333 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslSm2PubKey *)publicKey)->ecKey); in EngineVerifyInit() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_chipset_platform_encrypt_test.cpp258 auto ecKey = std::unique_ptr<EC_KEY, void(*)(EC_KEY *&)>( in ConvertRawEcPubKeyToX509Key() local
259 EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), [](EC_KEY *&ecKey) { in ConvertRawEcPubKeyToX509Key()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_ecc_helper.c453 static int32_t EcKeyToPublicKey(const EC_KEY *ecKey, struct HksBlob *eccPublicKey) in EcKeyToPublicKey()
520 const EC_KEY *ecKey = EVP_PKEY_get0_EC_KEY(pkey); in X509ToHksBlob() local
/base/security/crypto_framework/test/unittest/src/
Dopenssl_adapter_mock.c296 EC_KEY *OpensslEcKeyDup(const EC_KEY *ecKey) in OpensslEcKeyDup()