Home
last modified time | relevance | path

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

/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Dsm2_asy_key_generator_openssl.c100 EC_KEY *ecKey = NULL; in GenerateSm2KeyWithParamsSpec() local
143 EC_KEY *ecKey = NULL; in NewSm2KeyPairWithCommSpec() local
170 EC_KEY *ecKey = NULL; in NewSm2PubKeyWithPubSpec() local
198 EC_KEY *ecKey = NULL; in NewSm2PriKeyWithPriSpec() local
227 EC_KEY *ecKey = NULL; in NewSm2KeyWithKeyPairSpec() local
944 EC_KEY *ecKey, HcfPubKey **returnObj) in PackAndAssignPubKey()
957 EC_KEY *ecKey, HcfPriKey **returnObj) in PackAndAssignPriKey()
1022 EC_KEY *ecKey = NULL; in EngineGenerateKeyPair() local
1048 EC_KEY *ecKey = NULL; in EngineGenerateKeyPairBySpec() local
1084 EC_KEY *ecKey = NULL; in EngineGeneratePubKeyBySpec() local
[all …]
H A 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
1086 EC_KEY *ecKey = impl->ecKey; in GetCompressedEccPointEncoded() local
1705 EC_KEY *ecKey = NULL; in ConvertEcPriKey() local
1853 EC_KEY *ecKey = NULL; in EngineGenerateKeyPair() local
1880 EC_KEY *ecKey = NULL; in EngineGenerateKeyPairBySpec() local
1916 EC_KEY *ecKey = NULL; in EngineGeneratePubKeyBySpec() local
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
H A 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
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A 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()
H A 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()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_class.h34 EC_KEY *ecKey; member
45 EC_KEY *ecKey; member
127 EC_KEY *ecKey; member
138 EC_KEY *ecKey; member
/ohos5.0/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algo_sign.cpp94 EC_KEY *ecKey = PEM_read_bio_ECPrivateKey(in, nullptr, nullptr, nullptr); in SignBuffer() local
H A Dpkg_algo_sign.h40 EC_KEY *ecKey; member
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c155 EC_KEY *ecKey = NULL; in EccToX509PublicKey() local
489 static int32_t EcKeyToPublicKey(const uint32_t alg, const EC_KEY *ecKey, struct HksBlob *eccPublicK… in EcKeyToPublicKey()
546 const EC_KEY *ecKey = EVP_PKEY_get0_EC_KEY(pkey); in X509PublicKeyToEcc() local
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
H A Decdsa_openssl.c138 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPriKey *)privateKey)->ecKey); in EngineSignInit() local
259 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPubKey *)publicKey)->ecKey); in EngineVerifyInit() local
H A Dsm2_openssl.c195 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslSm2PriKey *)privateKey)->ecKey); in EngineSignInit() local
332 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslSm2PubKey *)publicKey)->ecKey); in EngineVerifyInit() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp238 auto ecKey = std::unique_ptr<EC_KEY, void(*)(EC_KEY *&)>( in ConvertRawEcPubKeyToX509Key() local
239 EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), [](EC_KEY *&ecKey) { in ConvertRawEcPubKeyToX509Key()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A 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
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c296 EC_KEY *OpensslEcKeyDup(const EC_KEY *ecKey) in OpensslEcKeyDup()