ALL: set context members to unsigned int
This commit is contained in:
parent
fc4ee3b70b
commit
f8cac1553f
@ -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