ALL: set context members to unsigned int
This commit is contained in:
parent
e60d9c9bac
commit
050dab6243
@ -32,15 +32,15 @@ typedef struct {
|
|||||||
* maximal degree N - 1 for
|
* maximal degree N - 1 for
|
||||||
* all polynomials
|
* all polynomials
|
||||||
*/
|
*/
|
||||||
int N;
|
unsigned int N;
|
||||||
/**
|
/**
|
||||||
* large modulus
|
* large modulus
|
||||||
*/
|
*/
|
||||||
int q;
|
unsigned int q;
|
||||||
/**
|
/**
|
||||||
* small modulus
|
* small modulus
|
||||||
*/
|
*/
|
||||||
int p;
|
unsigned int p;
|
||||||
} ntru_context;
|
} ntru_context;
|
||||||
|
|
||||||
#endif /* NTRU_CONTEXT_H */
|
#endif /* NTRU_CONTEXT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user