modulo arithmetic

This commit is contained in:
NIIBE Yutaka
2011-10-12 14:40:31 +09:00
parent 23c411188c
commit d6dc964536
2 changed files with 197 additions and 0 deletions

2
src/mod.h Normal file
View File

@@ -0,0 +1,2 @@
void mod_reduce (bn256 *X, const bn512 *A, const bn256 *B, const bn256 *MU_lower);
void mod_inv (bn256 *X, const bn256 *A, const bn256 *N);