Home
last modified time | relevance | path

Searched refs:HcfOpensslSm2PriKey (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.c110 HcfOpensslSm2PriKey *impl = (HcfOpensslSm2PriKey *)self; in DestroySm2PriKey()
230 HcfOpensslSm2PriKey *impl = (HcfOpensslSm2PriKey *)self; in GetSm2PriKeyEncoded()
261 HcfOpensslSm2PriKey *impl = (HcfOpensslSm2PriKey *)self; in Sm2PriKeyClearMem()
286 static HcfResult PackSm2PriKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PriKey **returnObj) in PackSm2PriKey()
288HcfOpensslSm2PriKey *returnPriKey = (HcfOpensslSm2PriKey *)HcfMalloc(sizeof(HcfOpensslSm2PriKey), … in PackSm2PriKey()
307 static HcfResult PackSm2KeyPair(HcfOpensslSm2PubKey *pubKey, HcfOpensslSm2PriKey *priKey, in PackSm2KeyPair()
342 static HcfResult ConvertEcPriKey(int32_t curveId, HcfBlob *priKeyBlob, HcfOpensslSm2PriKey **return… in ConvertEcPriKey()
380 HcfOpensslSm2PriKey *priKey = NULL; in EngineConvertSm2Key()
415 HcfOpensslSm2PriKey *priKey = NULL; in CreateAndAssignKeyPair()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h113 } HcfOpensslSm2PriKey; typedef
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_sm2_openssl.c72 impl->sm2Key = Openssl_EC_KEY_dup(((HcfOpensslSm2PriKey *)key)->ecKey); in InitSm2Key()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsm2_openssl.c136 EC_KEY *ecKey = Openssl_EC_KEY_dup(((HcfOpensslSm2PriKey *)privateKey)->ecKey); in EngineSignInit()