BN_ucmp

Compare absolute values of two BIGNUMs (ignores signs).

Synopsis

Declared in <openssl/bn.h>

int
BN_ucmp(
    BIGNUM const* a,
    BIGNUM const* b);

Return Value

Negative, zero, or positive as |a| is less than, equal to, or greater than |b|.

Parameters

NameDescription
aFirst operand.
bSecond operand.