BN_swap

Exchange the values of two BIGNUMs in constant time relative to their limb counts.

Synopsis

Declared in <openssl/bn.h>

void
BN_swap(
    BIGNUM* a,
    BIGNUM* b);

Parameters

NameDescription
aFirst value.
bSecond value.