BN_SWAP(3ossl)
π
BN_SWAP β exchange BIGNUMs (yes bestie, it's from the 3ossl manual β¨)
Okay so listen. This is the whole entire page for BN_swap, and honestly? It's giving short king. Minimal, iconic, does exactly one thing, does it flawlessly. Let me put you on.
πΈ SYNOPSIS πΈ
#include <openssl/bn.h>
void BN_swap(BIGNUM *a, BIGNUM *b);
That's it. That's the whole vibe. Two pointers, zero drama.
π¦ DESCRIPTION π¦
So BN_swap() exchanges the values of a and b.
Like literally, it swaps them. What's in a goes to b, what's in b goes to a. They trade places. Main character energy on both sides, no jealousy, no notes. π
β¨
No cap, this is the entire description. The manpage said what it said and I respect the confidence.
π RETURN VALUES π
BN_swap() does not return a value.
It's a void function, bestie β it just does the thing and ghosts. Nothing to check, nothing to compare, no error code to obsess over. Honestly? Queen behavior. π
π COPYRIGHT π
Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
Fr fr read the license before you go copying stuff around β that's the whole point of the paragraph. It's not decorative. π«Ά
And that's the whole page, bestie! π Version 3.5.6, dated 2026-04-07, from the BN_SWAP(3ossl) manual itself β go forth and swap your BIGNUMs with confidence. Swapping is free, it's legal, and it's lowkey the most satisfying operation in the whole bn.h lineup. πππ¦
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms