RAND: make mp_digit get_urnd_int_small() static

Does not seem to qualify for external API function.
This commit is contained in:
hasufell 2014-04-14 23:45:38 +02:00
parent 2def2061db
commit e8ec6103aa
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 6 additions and 3 deletions

View File

@ -33,6 +33,11 @@
#include <fcntl.h>
#include <unistd.h>
/*
* static declarations
*/
static mp_digit get_urnd_int_small(int *sign);
/**
* Gets randomly a small integer
@ -41,7 +46,7 @@
* @param sign stores the signness [out]
* @return random small integer
*/
mp_digit get_urnd_int_small(int *sign)
static mp_digit get_urnd_int_small(int *sign)
{
int random_data;
mp_digit random_int;

View File

@ -28,8 +28,6 @@
#include <tompoly.h>
mp_digit get_urnd_int_small(int *sign);
pb_poly *get_urnd_poly_small(pqc_context *ctx);
#endif /* NTRU_RAND_H */