Go to file
hasufell f0eefe7885
ENC: fix encryption
In some very rare cases such as the polynom
  1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 1
the encryption->decryption cycle caused an incorrect result.
This wasn't reproducible for all polynomials, just for some.

Implementing the algorithm manually instead of using
the shortcut through
  fmpz_poly_add(out, out, tmp_poly_msg);
  fmpz_poly_mod_unsigned(out, ctx->q);
seems to have solved the issue.

Still unknown what happened there.
2014-05-28 19:44:40 +02:00
external/flint-2.4.3 ALL: rm libtompoly/libtommath 2014-05-24 23:16:25 +02:00
src ENC: fix encryption 2014-05-28 19:44:40 +02:00
.gitignore Update .gitignore 2014-05-28 01:12:01 +02:00
COPYING LICENSE: add LGPL-2.1 license file 2014-04-14 23:58:19 +02:00
Doxyfile DOC: update Doxyfile 2014-05-25 02:15:40 +02:00
Makefile BUILD: refactor Makefiles 2014-05-28 01:38:55 +02:00
common.mk BUILD: refactor Makefiles 2014-05-28 01:38:55 +02:00