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 π
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
- ubuntu stonking: libssl-doc 4.0.3-1ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms