ALL: prefix external API structs/functions with ntru_

This commit is contained in:
hasufell 2014-04-14 23:47:01 +02:00
parent e8ec6103aa
commit 5df1ebbb45
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
3 changed files with 3 additions and 3 deletions

View File

@ -41,6 +41,6 @@ typedef struct {
* small modulus
*/
int p;
} pqc_context;
} ntru_context;
#endif /* NTRU_CONTEXT_H */

View File

@ -78,7 +78,7 @@ static mp_digit get_urnd_int_small(int *sign)
* @param ctx the NTRU context
* @return newly allocated polynomial
*/
pb_poly *get_urnd_poly_small(pqc_context *ctx)
pb_poly *ntru_get_urnd_poly_small(ntru_context *ctx)
{
mp_int *chara = malloc(sizeof(mp_int));
init_integer(chara);

View File

@ -28,6 +28,6 @@
#include <tompoly.h>
pb_poly *get_urnd_poly_small(pqc_context *ctx);
pb_poly *ntru_get_urnd_poly_small(ntru_context *ctx);
#endif /* NTRU_RAND_H */