Home
last modified time | relevance | path

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

/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c96 HcfOpensslSm2PubKey *impl = (HcfOpensslSm2PubKey *)self; in DestroySm2PubKey()
199 HcfOpensslSm2PubKey *impl = (HcfOpensslSm2PubKey *)self; in GetSm2PubKeyEncoded()
266 static HcfResult PackSm2PubKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PubKey **returnObj) in PackSm2PubKey()
268HcfOpensslSm2PubKey *returnPubKey = (HcfOpensslSm2PubKey *)HcfMalloc(sizeof(HcfOpensslSm2PubKey), … in PackSm2PubKey()
307 static HcfResult PackSm2KeyPair(HcfOpensslSm2PubKey *pubKey, HcfOpensslSm2PriKey *priKey, in PackSm2KeyPair()
324 static HcfResult ConvertEcPubKey(int32_t curveId, HcfBlob *pubKeyBlob, HcfOpensslSm2PubKey **return… in ConvertEcPubKey()
379 HcfOpensslSm2PubKey *pubKey = NULL; in EngineConvertSm2Key()
421 HcfOpensslSm2PubKey *pubKey = NULL; in CreateAndAssignKeyPair()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h104 } HcfOpensslSm2PubKey; typedef
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_sm2_openssl.c70 impl->sm2Key = Openssl_EC_KEY_dup(((HcfOpensslSm2PubKey *)key)->ecKey); in InitSm2Key()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsm2_openssl.c255 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslSm2PubKey *)publicKey)->ecKey); in EngineVerifyInit()