BN_SWAP(3ossl)
π BN_SWAP(3ossl) π
okay so bestie, welcome to BN_swap β part of the OpenSSL fam, section 3, and honestly? she's short, she's sweet, she's giving "does exactly one thing and does it flawlessly." no notes. π
β¨ NAME β¨
BN_swap β exchange BIGNUMs π
like. literally. swapping two big numbers. that's the whole plot. that's the entire storyline. slay.
πΈ SYNOPSIS πΈ
#include <openssl/bn.h>
void BN_swap(BIGNUM *a, BIGNUM *b);
there she is. two pointers, zero drama. π
π¦ DESCRIPTION π¦
so BN_swap() exchanges the values of a and b. that's it. that's the function.
like if a was holding one big ol' number and b was holding a different big ol' number, after this call they've traded places and neither of them is okay about it but that's not our problem. π the values get swapped, periodt. no cap.
π RETURN VALUES π
BN_swap() does not return a value. it's void, babe. it gives you nothing back β because the glow-up is the gift. β¨ nothing to check, nothing to compare, nothing to handle. it just does the thing and dips. π«Ά
π 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 legal bestie moment: read the License fr fr, because using this file without complying is not the vibe. π
and that's the whole page, my love. this one came from OpenSSL 3.5.9, dated 2026-09-29, and the manual name is BN_SWAP(3ossl) in case you need to cite her. go swap some numbers, you absolute icon. πβπ
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms