Skip to content

BN_swap

NAME

BN_swap - exchange BIGNUMs

SYNOPSIS

#include <openssl/bn.h>

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

DESCRIPTION

BN_swap() exchanges the values of a and b.

bn(3)

HISTORY

BN_swap was added in OpenSSL 0.9.7.