![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
BIGNUM *
DESCRIPTION
for r in the prime field of characteristic p using the Tonelli-Shanks algorithm if needed and places one of the two solutions into r. The other solution is p - r. The argument p is expected to be a prime number. RETURN VALUESIn case of success, In case of failure, SEE ALSOBN_CTX_new(3), BN_kronecker(3), BN_mod_sqr(3), BN_new(3) Henri Cohen, A Course in Computational Algebraic Number Theory, Springer, Berlin, 1993, Algorithm 1.5.1. HISTORY
CAVEATSIf p is not prime,
|