Home
last modified time | relevance | path

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

/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 = Openssl_EC_KEY_dup(publicKey->ecKey); in NewPKeyByEccPubKey() local
63 EC_KEY *ecKey = Openssl_EC_KEY_dup(privateKey->ecKey); in NewPKeyByEccPriKey() local
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Decc_asy_key_generator_openssl.c47 EC_KEY *ecKey = Openssl_EC_KEY_new_by_curve_name(curveId); in NewEcKeyPair() local
325 EC_KEY *ecKey = NULL; in GenerateEcKeyWithParmasSpec() local
362 static HcfResult InitEcKeyByPubKey(const HcfPoint *pubKey, EC_KEY *ecKey) in InitEcKeyByPubKey()
405 static HcfResult InitEcKeyByPriKey(const HcfBigInteger *priKey, EC_KEY *ecKey) in InitEcKeyByPriKey()
422 static HcfResult SetEcPubKeyFromPriKey(const HcfBigInteger *priKey, EC_KEY *ecKey) in SetEcPubKeyFromPriKey()
458 static HcfResult SetEcKey(const HcfPoint *pubKey, const HcfBigInteger *priKey, EC_KEY *ecKey) in SetEcKey()
488 EC_KEY *ecKey = NULL; in NewEcKeyPairWithCommSpec() local
512 EC_KEY *ecKey = NULL; in NewEcPubKeyWithPubSpec() local
536 EC_KEY *ecKey = NULL; in NewEcPriKeyWithPriSpec() local
561 EC_KEY *ecKey = NULL; in NewEcKeyWithKeyPairSpec() local
[all …]
Dsm2_asy_key_generator_openssl.c38 EC_KEY *ecKey = Openssl_EC_KEY_new_by_curve_name(curveId); in NewEcKeyPair() local
266 static HcfResult PackSm2PubKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PubKey **returnObj) in PackSm2PubKey()
286 static HcfResult PackSm2PriKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PriKey **returnObj) in PackSm2PriKey()
327 EC_KEY *ecKey = Openssl_d2i_EC_PUBKEY(NULL, &tmpData, pubKeyBlob->len); in ConvertEcPubKey() local
345 EC_KEY *ecKey = Openssl_d2i_ECPrivateKey(NULL, &tmpData, priKeyBlob->len); in ConvertEcPriKey() local
408 EC_KEY *ecKey, HcfKeyPair **returnObj) in CreateAndAssignKeyPair()
456 EC_KEY *ecKey = NULL; in EngineGenerateKeyPair() local
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h34 EC_KEY *ecKey; member
45 EC_KEY *ecKey; member
103 EC_KEY *ecKey; member
112 EC_KEY *ecKey; member
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Decdsa_openssl.c120 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslEccPriKey *)privateKey)->ecKey); in EngineSignInit() local
235 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslEccPubKey *)publicKey)->ecKey); in EngineVerifyInit() local
Dsm2_openssl.c136 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslSm2PriKey *)privateKey)->ecKey); in EngineSignInit() local
255 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslSm2PubKey *)publicKey)->ecKey); in EngineVerifyInit() local
/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
600 static int32_t EcKeyToPublicKey(const uint32_t alg, const EC_KEY *ecKey, struct HksBlob *eccPublicK… in EcKeyToPublicKey()
657 const EC_KEY *ecKey = EVP_PKEY_get0_EC_KEY(pkey); in X509PublicKeyToEcc() local
/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/plugin/openssl_plugin/common/src/
Dopenssl_adapter.c116 int Openssl_EC_KEY_generate_key(EC_KEY *ecKey) in Openssl_EC_KEY_generate_key()
176 void Openssl_EC_KEY_set_enc_flags(EC_KEY *ecKey, unsigned int flags) in Openssl_EC_KEY_set_enc_flags()
223 EC_KEY *Openssl_EC_KEY_dup(const EC_KEY *ecKey) in Openssl_EC_KEY_dup()
/base/security/crypto_framework/test/unittest/src/
Dopenssl_adapter_mock.c285 EC_KEY *Openssl_EC_KEY_dup(const EC_KEY *ecKey) in Openssl_EC_KEY_dup()