GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BN_KRONECKER(3) FreeBSD Library Functions Manual BN_KRONECKER(3)

BN_kroneckerKronecker symbol

#include <openssl/bn.h>

int
BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);

() computes the Kronecker symbol (a | b), which generalizes the Legendre and Jacobi symbols for arbitrary integer numbers b.

BN_kronecker() returns -1, 0, or 1 in case of success or -2 on error.

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.

BN_kronecker() first appeared in OpenSSL 0.9.7 and has been available since OpenBSD 3.2.

November 15, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.