|
NAMEBN_set_negative , BN_is_negative
—
change and inspect the sign of a BIGNUM
SYNOPSIS#include <openssl/bn.h>
void
int
DESCRIPTIONBN_set_negative () sets b to
negative if both b and n are
non-zero, otherwise it sets it to positive.
RETURN VALUESBN_is_negative () returns 1 if b is
negative or 0 otherwise.
SEE ALSOBN_add(3), BN_new(3), BN_set_bit(3), BN_zero(3)HISTORYBN_set_negative () and
BN_is_negative () first appeared in OpenSSL 0.9.8 and
have been available since OpenBSD 4.5.
Visit the GSP FreeBSD Man Page Interface. |