BN_set_negative sets sign of a BIGNUM

Synopsis

Declared in <openssl/bn.h>

void
BN_set_negative(
    BIGNUM* b,
    int n);

Parameters

Name

Description

b

pointer to the BIGNUM object

n

0 if the BIGNUM b should be positive and a value != 0 otherwise

Created with MrDocs