OpenBSD manual page server

Manual Page Search Parameters

BN_SET_NEGATIVE(3) Library Functions Manual BN_SET_NEGATIVE(3)

BN_set_negative, BN_is_negativechange and inspect the sign of a BIGNUM

BN_set_negative(BIGNUM *b, int n);

BN_is_negative(const BIGNUM *b);

() sets b to negative if both b and n are non-zero, otherwise it sets it to positive.

() tests the sign of b. It is currently implemented as a macro.

BN_is_negative() returns 1 if b is negative or 0 otherwise.

BN_add(3), BN_new(3), BN_set_bit(3), BN_zero(3)

December 10, 2016 OpenBSD-6.1