BN_SET_NEGATIVE(3)
π BN_SET_NEGATIVE(3) β Library Functions Manual π
okay so bestie, this is the page for BN_SET_NEGATIVE(3) from the Library Functions Manual, and itβs literally all about the sign of a BIGNUM π
β¨ NAME β¨
BN_set_negative, BN_is_negative β change and inspect the sign of a BIGNUM π¦
π SYNOPSIS π
#include <openssl/bn.h>
void
BN_set_negative(BIGNUM *b, int n);
int
BN_is_negative(const BIGNUM *b);
π DESCRIPTION π
BN_set_negative() is giving βset the signβ energy: it sets b to negative if both b and n are non-zero; otherwise it sets b to positive β¨
BN_is_negative() is the vibe check π β it tests the sign of b.
π«Ά RETURN VALUES π«Ά
BN_is_negative() returns 1 if b is negative, or 0 otherwise. periodt π
π SEE ALSO π
πΈ HISTORY πΈ
BN_set_negative() and BN_is_negative() first appeared in OpenSSL 0.9.8 and have been available since OpenBSD 4.5 π
xoxo, Debian π December 6, 2021 β BN_SET_NEGATIVE(3) π
π¦ where this page comes from
- opensuse-leap 16.0: libressl-devel-doc 4.1.0-bp160.1.1 Β· OpenSSL
- Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms