Test whether the absolute value of a equals word w.

Synopsis

Declared in <openssl/bn.h>

int
BN_abs_is_word(
    BIGNUM const* a,
    unsigned long const w);

Return Value

1 if |`a|` equals w, or 0 otherwise.

Parameters

Name

Description

a

BIGNUM to test (sign is ignored).

w

Single‐word value to compare against.

Created with MrDocs