Home
last modified time | relevance | path

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

/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Decc_common_param_spec_generator_openssl.c283 static HcfResult InitEccPoint(const int32_t curveNameValue, EC_GROUP **ecGroup, in InitEccPoint() argument
287 if (GetNidByCurveNameValue(curveNameValue, &nid) != HCF_SUCCESS) { in InitEccPoint()
387 HcfResult HcfEngineConvertPoint(const int32_t curveNameValue, HcfBlob *pointBlob, HcfPoint *returnP… in HcfEngineConvertPoint() argument
389 if ((curveNameValue == 0) || !HcfIsBlobValid(pointBlob) || (returnPoint == NULL)) { in HcfEngineConvertPoint()
401 ret = InitEccPoint(curveNameValue, &ecGroup, &ecPoint, &x, &y); in HcfEngineConvertPoint()
432 HcfResult HcfEngineGetEncodedPoint(const int32_t curveNameValue, HcfPoint *point, in HcfEngineGetEncodedPoint() argument
435 if ((curveNameValue == 0) || (point == NULL) || (formatValue == 0) || (returnBlob == NULL)) { in HcfEngineGetEncodedPoint()
445 ret = InitEccPoint(curveNameValue, &ecGroup, &ecPoint, NULL, NULL); in HcfEngineGetEncodedPoint()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/inc/
H A Decc_common_param_spec_generator_openssl.h30 HcfResult HcfEngineConvertPoint(const int32_t curveNameValue, HcfBlob *pointBlob, HcfPoint *returnP…
32 HcfResult HcfEngineGetEncodedPoint(const int32_t curveNameValue, HcfPoint *point,
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Dopenssl_common.c152 HcfResult GetNidByCurveNameValue(int32_t curveNameValue, int32_t *nid) in GetNidByCurveNameValue() argument
159 if (NID_TYPE_MAP[i].bits == curveNameValue) { in GetNidByCurveNameValue()
164 LOGE("Invalid curveNameValue value: %d", curveNameValue); in GetNidByCurveNameValue()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_common.h45 HcfResult GetNidByCurveNameValue(int32_t curveNameValue, int32_t *nid);