Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

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.

SEE ALSO

bn(3)

HISTORY

BN_swap was added in OpenSSL 0.9.7.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org