PARAMS: use forward declaration
This commit is contained in:
parent
cd6e477f31
commit
5db9b014c6
@ -33,11 +33,14 @@
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
typedef struct ntru_params ntru_params;
|
||||
|
||||
|
||||
/**
|
||||
* NTRU cryptosystem is specified by
|
||||
* the following triple.
|
||||
*/
|
||||
typedef struct {
|
||||
struct ntru_params {
|
||||
/**
|
||||
* maximal degree N - 1 for
|
||||
* all polynomials
|
||||
@ -51,6 +54,7 @@ typedef struct {
|
||||
* small modulus
|
||||
*/
|
||||
uint32_t p;
|
||||
} ntru_params;
|
||||
};
|
||||
|
||||
|
||||
#endif /* NTRU_PARAMS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user