Test whether a BIGNUM equals the single word w (including sign of zero).

Synopsis

Declared in <openssl/bn.h>

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

Return Value

1 if a equals w, or 0 otherwise.

Parameters

Name

Description

a

Value to test.

w

Word value to compare against.

Created with MrDocs