<div dir="ltr"><div>I'm converting some openssl 1.0 code to 3.0 and I don't know how to get the coordinates</div><div>in a 3.0 way.</div><div>The old code is:</div><div>     BN_CTX *ctx = BN_CTX_new ();<br>  BIGNUM *X = NULL, *Y = NULL;<br>  const EC_POINT *pubkey;<br>       const EC_GROUP *group;<br>        BN_CTX_start (ctx);<br>   X = BN_CTX_get (ctx);<br> Y = BN_CTX_get (ctx);<br> pubkey = EC_KEY_get0_public_key ((EC_KEY *) EVP_PKEY_get0 (pkey));<br>    group = EC_KEY_get0_group ((EC_KEY *) EVP_PKEY_get0 (cvr->sm_pkey));<br>       EC_POINT_get_affine_coordinates_GFp (group, pubkey, X, Y, ctx)</div><div><br></div><div>What would be the 3.0 way to get X and Y without using deprecated functions?<br></div><div>-- <br><div dir="ltr" data-smartmail="gmail_signature">Chris Bare</div></div></div>