Ubuntu Manpages

 #include <openssl/bn.h>
 void BN_swap(BIGNUM *a, BIGNUM *b);

BN_swap() exchanges the values of a and b.

bn(3)

BN_swap was added in OpenSSL 0.9.7.