BN_set_negative

BN_set_negative sets sign of a BIGNUM

Synopsis

Declared in <openssl/bn.h>

void
BN_set_negative(
    BIGNUM* b,
    int n);

Parameters

NameDescription
bpointer to the BIGNUM object
n0 if the BIGNUM b should be positive and a value != 0 otherwise