BN_KRONECKER(3)
πΈ NAME πΈ
BN_kronecker β Kronecker symbol. Bestie, this is the BN_KRONECKER(3) manual page, and itβs lowkey giving math-girlie main character energy. π
β¨
β¨ SYNOPSIS β¨
Okay so hereβs the exact shape of it, no cap:
#include <openssl/bn.h>
int
BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
π DESCRIPTION π
BN_kronecker() computes the Kronecker symbol (a | b), which generalizes the Legendre and Jacobi symbols for arbitrary integer numbers b. Literally iconic behavior β itβs out here handling the general case like a queen. ππ¦
π RETURN VALUES π
BN_kronecker() returns -1, 0, or 1 in case of success β yes bestie, all three are success vibes β or -2 on error. Thatβs the whole return-value vibe check. πβ
π₯ SEE ALSO π₯
BN_CTX_new(3)BN_gcd(3)BN_mod_sqrt(3)BN_new(3)- Henri Cohen, A Course in Computational Algebraic Number Theory, Springer, Berlin, 1993, Algorithm 1.4.10.
π HISTORY π
BN_kronecker() first appeared in OpenSSL 0.9.7 and has been available since OpenBSD 3.2. Historical slay, fr fr. π«Άπ
This adorable little page came from the Debian manual source, dated November 15, 2022 β mwah, bye bestie! ππ
π¦ where this page comes from
- opensuse-leap 16.0: libressl-devel-doc 4.1.0-bp160.1.1 Β· OpenSSL
- Copyright (c) 2022 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms