BN_GF2m_add

Add binary polynomials over GF(2): r = a XOR b (addition without carry).

Synopsis

Declared in <openssl/bn.h>

int
BN_GF2m_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.