Home
last modified time | relevance | path

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

/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Decc_asy_key_generator_openssl.c139 HcfOpensslEccPriKey *impl = (HcfOpensslEccPriKey *)self; in DestroyEccPriKey()
271 HcfOpensslEccPriKey *impl = (HcfOpensslEccPriKey *)self; in GetEccPriKeyEncoded()
313 HcfOpensslEccPriKey *impl = (HcfOpensslEccPriKey *)self; in EccPriKeyClearMem()
336 static HcfResult CreateEccPriKey(int32_t curveId, BIGNUM *priKey, HcfOpensslEccPriKey **returnObj) in CreateEccPriKey()
338HcfOpensslEccPriKey *returnPriKey = (HcfOpensslEccPriKey *)HcfMalloc(sizeof(HcfOpensslEccPriKey), … in CreateEccPriKey()
356 static HcfResult CreateEccKeyPair(HcfOpensslEccPubKey *pubKey, HcfOpensslEccPriKey *priKey, in CreateEccKeyPair()
404 static HcfResult ConvertEcPriKeyByOpenssl(int32_t curveId, HcfBlob *priKeyBlob, HcfOpensslEccPriKey in ConvertEcPriKeyByOpenssl()
456 HcfOpensslEccPriKey *priKey = NULL; in EngineConvertEccKey()
509 HcfOpensslEccPriKey *priKey = NULL; in EngineGenerateKeyPair()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_class.h48 } HcfOpensslEccPriKey; typedef
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
Decdh_openssl.c61 static EVP_PKEY *NewPKeyByEccPriKey(int32_t curveId, HcfOpensslEccPriKey *privateKey) in NewPKeyByEccPriKey()
168 EVP_PKEY *priPKey = NewPKeyByEccPriKey(impl->curveId, (HcfOpensslEccPriKey *)priKey); in EngineGenerateSecret()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Decdsa_openssl.c134 …if (EC_KEY_set_private_key(ecKey, ((HcfOpensslEccPriKey *)privateKey)->sk) != HCF_OPENSSL_SUCCESS)… in EngineSignInit()