0bdddc12e7
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 |
||
---|---|---|
external | ||
src | ||
.gitignore | ||
COPYING | ||
Doxyfile | ||
Makefile |