BN_SWAP(3SSL)

πŸ’– BN_SWAP β€” the manual page, but make it cute ✨

okay bestie, this is the OpenSSL page for BN_swap β€” the little function that does the ✨ swap ✨ with your BIGNUMs. It's giving "trading seats with your bestie at lunch" energy. Let's go 🫢


🌸 NAME 🌸

BN_swap β€” exchange BIGNUMs πŸ’…

✨ SYNOPSIS ✨

#include <openssl/bn.h>

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so BN_swap() exchanges the values of a and b. that's it. that's the whole vibe. πŸŽ€

like, a ends up holding what b had, and b ends up holding what a had. iconic mutual exchange behaviour, no cap. the two BIGNUMs literally swap souls πŸ™ˆπŸ’«

πŸ’« RETURN VALUES πŸ’«

ngl BN_swap() does not return a value. it's void, bestie β€” it just does the thing and dips. no result to check, no nothing. periodt. πŸ’…

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>.


okay and that's the whole page πŸ“ this was BN_SWAP(3SSL) from the OpenSSL manual, version 4.0.3, dated 2026-09-29. ty for reading bestie, go swap some BIGNUMs responsibly πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from