| /base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
| D | sm2_asy_key_generator_openssl.c | 103 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 …]
|
| D | ecc_asy_key_generator_openssl.c | 644 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/ |
| D | ecdh_openssl.c | 33 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/ |
| D | ecc_openssl_common.c | 26 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()
|
| D | openssl_adapter.c | 125 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/ |
| D | openssl_class.h | 34 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/ |
| D | pkg_algo_sign.cpp | 94 EC_KEY *ecKey = PEM_read_bio_ECPrivateKey(in, nullptr, nullptr, nullptr); in SignBuffer() local
|
| D | pkg_algo_sign.h | 40 EC_KEY *ecKey; member
|
| /base/security/huks/utils/crypto_adapter/ |
| D | hks_client_service_adapter.c | 155 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/ |
| D | ecdsa_openssl.c | 138 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPriKey *)privateKey)->ecKey); in EngineSignInit() local 260 EC_KEY *ecKey = OpensslEcKeyDup(((HcfOpensslEccPubKey *)publicKey)->ecKey); in EngineVerifyInit() local
|
| D | sm2_openssl.c | 195 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/ |
| D | hks_chipset_platform_encrypt_test.cpp | 258 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/ |
| D | openssl_ecc_helper.c | 453 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/ |
| D | openssl_adapter_mock.c | 296 EC_KEY *OpensslEcKeyDup(const EC_KEY *ecKey) in OpensslEcKeyDup()
|