EC_GROUP_check

Checks whether the parameter in the EC_GROUP define a valid ec group

Synopsis

Declared in <openssl/ec.h>

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

Return Value

1 if group is a valid ec group and 0 otherwise

Parameters

NameDescription
groupEC_GROUP object
ctxBN_CTX object (optional)