BN_add

Add signed BIGNUMs: r = a + b.

Synopsis

Declared in <openssl/bn.h>

int
BN_add(
    BIGNUM* r,
    BIGNUM const* a,
    BIGNUM const* b);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
rDestination sum.
aFirst addend.
bSecond addend.