EC_GROUP_check_discriminant

Checks whether the discriminant of the elliptic curve is zero or not

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_check_discriminant(
    EC_GROUP const* group,
    BN_CTX* ctx);

Return Value

1 if the discriminant is not zero and 0 otherwise

Parameters

NameDescription
groupEC_GROUP object
ctxBN_CTX object (optional)