Go to file
Malte 0bdddc12e7 rand: Refactoring finished
now there are only 4 static functions left:
static mp_digit read_int_dev_random();
static mp_digit read_int_dev_urandom();
static mp_digit make_small_int(mp_digit random_int, int* sign);
static mp_digit make_big_int(mp_digit random_int, int* sign);
Every function is used twice.
the next goal to copy free code is to make a single function
with function pointer out of these 4:
pb_poly *ntru_get_urnd_poly_small(ntru_context *ctx);
pb_poly *ntru_get_rnd_poly_small(ntru_context *ctx);
pb_poly *ntru_get_urnd_poly_big(ntru_context *ctx);
pb_poly *ntru_get_rnd_poly_big(ntru_context *ctx);
But this need to be checkt by a other group member
2014-05-12 20:32:34 +02:00
external BUILD: add external libtompoly library 2014-04-14 22:22:07 +02:00
src rand: Refactoring finished 2014-05-12 20:32:34 +02:00
.gitignore update .gitignore 2014-04-15 14:27:06 +02:00
COPYING LICENSE: add LGPL-2.1 license file 2014-04-14 23:58:19 +02:00
Doxyfile DOC: add Doxyfile 2014-04-14 22:50:16 +02:00
Makefile BUILD: update top-level Makefile 2014-04-15 14:13:03 +02:00