Creates an OSSL_PARAM array with the parameters describing the given EC_GROUP. The resulting parameters may contain an explicit or a named curve depending on the EC_GROUP.

Synopsis

Declared in <openssl/ec.h>

OSSL_PARAM*
EC_GROUP_to_params(
    EC_GROUP const* group,
    OSSL_LIB_CTX* libctx,
    char const* propq,
    BN_CTX* bnctx);

Return Value

newly created OSSL_PARAM array with the parameters describing the given EC_GROUP or NULL if an error occurred

Parameters

Name

Description

group

pointer to the EC_GROUP object

libctx

The associated library context or NULL for the default context

propq

A property query string

bnctx

BN_CTX object (optional)

Created with MrDocs