freeswitch/libs/libzrtp/third_party/bnlib/jacobi.h

11 lines
325 B
C
Raw Normal View History

2010-02-20 18:51:54 +00:00
/*
* Copyright (c) 1995 Colin Plumb. All rights reserved.
* For licensing and other legal details, see the file legal.c.
*
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);