From f8cac1553f9271e8b28ba2078ce722bea6af698f Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 15 Apr 2014 18:49:33 +0200 Subject: [PATCH] ALL: set context members to unsigned int --- src/context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context.h b/src/context.h index ecc94f1..e0e0883 100644 --- a/src/context.h +++ b/src/context.h @@ -32,15 +32,15 @@ typedef struct { * maximal degree N - 1 for * all polynomials */ - int N; + unsigned int N; /** * large modulus */ - int q; + unsigned int q; /** * small modulus */ - int p; + unsigned int p; } ntru_context; #endif /* NTRU_CONTEXT_H */