Home
last modified time | relevance | path

Searched refs:returnEcKey (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Dsm2_asy_key_generator_openssl.c164 …tic HcfResult NewSm2PubKeyWithPubSpec(const HcfEccPubKeyParamsSpec *ecParams, EC_KEY **returnEcKey) in NewSm2PubKeyWithPubSpec() argument
166 if (ecParams == NULL || returnEcKey == NULL) { in NewSm2PubKeyWithPubSpec()
188 *returnEcKey = ecKey; in NewSm2PubKeyWithPubSpec()
192 …tic HcfResult NewSm2PriKeyWithPriSpec(const HcfEccPriKeyParamsSpec *ecParams, EC_KEY **returnEcKey) in NewSm2PriKeyWithPriSpec() argument
194 if (ecParams == NULL || returnEcKey == NULL) { in NewSm2PriKeyWithPriSpec()
216 *returnEcKey = ecKey; in NewSm2PriKeyWithPriSpec()
220 …c HcfResult NewSm2KeyWithKeyPairSpec(const HcfEccKeyPairParamsSpec *ecParams, EC_KEY **returnEcKey, in NewSm2KeyWithKeyPairSpec() argument
223 if (ecParams == NULL || returnEcKey == NULL) { in NewSm2KeyWithKeyPairSpec()
249 *returnEcKey = ecKey; in NewSm2KeyWithKeyPairSpec()
H A Decc_asy_key_generator_openssl.c708 …atic HcfResult NewEcPubKeyWithPubSpec(const HcfEccPubKeyParamsSpec *ecParams, EC_KEY **returnEcKey) in NewEcPubKeyWithPubSpec() argument
710 if (ecParams == NULL || returnEcKey == NULL) { in NewEcPubKeyWithPubSpec()
732 *returnEcKey = ecKey; in NewEcPubKeyWithPubSpec()
736 …atic HcfResult NewEcPriKeyWithPriSpec(const HcfEccPriKeyParamsSpec *ecParams, EC_KEY **returnEcKey) in NewEcPriKeyWithPriSpec() argument
738 if (ecParams == NULL || returnEcKey == NULL) { in NewEcPriKeyWithPriSpec()
760 *returnEcKey = ecKey; in NewEcPriKeyWithPriSpec()
764 …ic HcfResult NewEcKeyWithKeyPairSpec(const HcfEccKeyPairParamsSpec *ecParams, EC_KEY **returnEcKey, in NewEcKeyWithKeyPairSpec() argument
767 if (ecParams == NULL || returnEcKey == NULL) { in NewEcKeyWithKeyPairSpec()
793 *returnEcKey = ecKey; in NewEcKeyWithKeyPairSpec()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Decc_openssl_common.h26 HcfResult NewEcKeyPair(int32_t curveId, EC_KEY **returnEcKey);
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Decc_openssl_common.c24 HcfResult NewEcKeyPair(int32_t curveId, EC_KEY **returnEcKey) in NewEcKeyPair() argument
41 *returnEcKey = ecKey; in NewEcKeyPair()