[OpenBSD]

Manual Page Search Parameters

BN_SWAP(3) Library Functions Manual BN_SWAP(3)

BN_swap
exchange BIGNUMs

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

BN_swap() exchanges the values of a and b.

BN_new(3)

BN_swap() first appeared in OpenSSL 0.9.7 and has been available since OpenBSD 3.2.
March 22, 2018 OpenBSD-current