EC_KEY_set_public_key_affine_coordinates

Sets a public key from affine coordinates performing necessary NIST PKV tests.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_set_public_key_affine_coordinates(
    EC_KEY* key,
    BIGNUM* x,
    BIGNUM* y);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 otherwise.

Parameters

NameDescription
keythe EC_KEY object
xpublic key x coordinate
ypublic key y coordinate