0bdddc12e7d588d88efee515e3cfc5bf4f832117
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
Description
Languages
C
94.3%
Makefile
3.8%
Objective-C
1.4%
Shell
0.5%