freeswitch/third_party/bnlib/jacobi.h

8 lines
200 B
C
Raw Normal View History

2010-02-20 18:51:54 +00:00
/*
* For a small (usually prime, but not necessarily) prime p,
* Return Jacobi(p,bn), which is -1, 0 or +1.
* bn must be odd.
*/
struct BigNum;
int bnJacobiQ(unsigned p, struct BigNum const *bn);