BN_SWAP(3ossl)
π BN_SWAP β the OpenSSL manual, but make it make sense
okay so we're in the 3ossl corner of the OpenSSL docs, bestie, and today's main character is BN_swap β literally just two BIGNUMs trading places. that's it. that's the whole vibe. π
β¨ NAME β¨
BN_swap β exchange BIGNUMs π¦
like, actually exchange them. swap arc. trading-places era. π
β¨ SYNOPSIS β¨
#include <openssl/bn.h>
void BN_swap(BIGNUM *a, BIGNUM *b);
β¨ DESCRIPTION β¨
so BN_swap() exchanges the values of a and b. π
that's the sentence. that's the function. she's short, she's iconic, she does exactly one thing and she does it flawlessly β no cap. π«Ά
β¨ RETURN VALUES β¨
BN_swap() does not return a value. π«₯
it's void, bestie β don't go looking for a status code, there isn't one, she just did the swap and dipped. π
β¨ 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 using this β that part is not a vibe, it's a requirement. π
and that's the page!! π this lil beauty is from the OpenSSL 3.5.0 era, dated 2026-09-25, filed under BN_SWAP(3ossl) β mwah, go swap some numbers responsibly ππΈ
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms