Gets the cofactor of a EC_GROUP

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_get_cofactor(
    EC_GROUP const* group,
    BIGNUM* cofactor,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

Name

Description

group

EC_GROUP object

cofactor

BIGNUM to which the cofactor is copied

ctx

unused

Created with MrDocs