roll unrolled loops with code

This commit is contained in:
Jordi Baylina
2019-12-10 18:46:10 +01:00
parent afa8201c2c
commit ec0e7f421b
9 changed files with 96 additions and 22 deletions

View File

@@ -189,3 +189,7 @@ void ZqField::shr(PBigInt r, PBigInt a, PBigInt b) {
}
}
int ZqField::toInt(PBigInt a) {
return mpz_get_si (*a);
}

View File

@@ -45,6 +45,7 @@ public:
void shr(PBigInt r, PBigInt a, PBigInt b);
int isTrue(PBigInt a);
int toInt(PBigInt a);
};
#endif // ZQFIELD_H