EC_GROUP_get_cofactor

Gets the cofactor of a EC_GROUP

extern (C) nothrow @nogc
int
EC_GROUP_get_cofactor

Parameters

group const(.EC_GROUP)*

EC_GROUP object

cofactor libressl_d.openssl.ossl_typ.BIGNUM*

BIGNUM to which the cofactor is copied

ctx libressl_d.openssl.ossl_typ.BN_CTX*

BN_CTX object (optional)

Return Value

Type: int

1 on success and 0 if an error occured

Meta