Test whether a BIGNUM equals one.

Synopsis

Declared in <openssl/bn.h>

int
BN_is_one(BIGNUM const* a);

Return Value

1 if a has the value 1, or 0 otherwise.

Parameters

Name

Description

a

BIGNUM to test.

Created with MrDocs