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