Merge pull request #4 from thesamesam/develop
[libtompoly.git] / pb_mod.c
blob4be21e95cd0f6e3eea08c506bb95d20f395ba7b0
1 /* LibTomPoly, Polynomial Basis Math -- Tom St Denis
2 *
3 * LibTomPoly is a public domain library that provides
4 * polynomial basis arithmetic support. It relies on
5 * LibTomMath for large integer support.
7 * This library is free for all purposes without any
8 * express guarantee that it works.
10 * Tom St Denis, tomstdenis@iahu.ca, http://poly.libtomcrypt.org
12 #include <tompoly.h>
14 int pb_mod(pb_poly *a, pb_poly *b, pb_poly *c)
16 return pb_div(a, b, NULL, c);