ptional preallocated BN_CTX (to save the overhead of allocating and freeing the structure in a loop). The values for <i>libctx</i>, <i>propq</i> and <i>bnctx</i> may be NULL. The caller is responsible for freeing the OSSL_PARAM pointer returned.</p>

<p>EC_GROUP_new_from_ecparameters() will create a group from the specified <i>params</i> and EC_GROUP_new_from_ecpkparameters() will create a group from the specific PK <i>params</i>.</p>

<p>EC_GROUP_set_curve() sets the curve parameters <i>p</i>, <i>a</i> and