Refactored ntru_param_sets

This commit is contained in:
Andreas Steffen
2014-03-07 21:56:33 +01:00
parent 0d30d73eb9
commit 7befce8c3f
9 changed files with 173 additions and 244 deletions
+2 -1
View File
@@ -15,6 +15,7 @@
#include "ntru_ke.h"
#include "ntru_drbg.h"
#include "ntru_param_set.h"
#include "ntru_crypto/ntru_crypto.h"
@@ -28,7 +29,7 @@ typedef struct param_set_t param_set_t;
* Defines an NTRU parameter set by ID or OID
*/
struct param_set_t {
NTRU_ENCRYPT_PARAM_SET_ID id;
ntru_param_set_id_t id;
char oid[3];
char *name;
};