RAND: changed ntru_get_poly_big() to ntru_get_random_poly()

This commit is contained in:
Malte 2014-05-06 07:50:22 +02:00 committed by malte
parent 7c58d847e9
commit 979ae61726
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ pb_poly *ntru_get_random_poly_ternary(size_t length, int entropy_source)
* @param entropy_source the source of entropy you want
* @return newly allocated polynomial, must be freed with delete_polynom()
*/
pb_poly *ntru_get_poly_big(int length, int entropy_source, mp_int *upper_bound,
pb_poly *ntru_get_random_poly(int length, int entropy_source, mp_int *upper_bound,
mp_int *lower_bound)
{
//TODO

View File

@ -37,7 +37,7 @@
#define GET_INT_FROM_RRAND 3
pb_poly *ntru_get_random_poly_ternary(int length, int entropy_source);
pb_poly *ntru_get_poly_big(size_t length, int entropy_source, mp_int *upper_bound,
pb_poly *ntru_get_random_poly(size_t length, int entropy_source, mp_int *upper_bound,
mp_int *lower_bound);
#endif /* NTRU_RAND_H */