POLY: rearrange header declarations

This commit is contained in:
hasufell 2014-04-30 17:23:39 +02:00
parent f6b5c8de19
commit 8fbcbe4144
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -32,11 +32,6 @@
#include <stdbool.h>
void init_integers(mp_int *new_int, ...);
unsigned int get_degree(pb_poly const * const poly);
#define MP_SET(...) mp_set(__VA_ARGS__)
#define MP_SET_INT(...) \
@ -173,8 +168,11 @@ unsigned int get_degree(pb_poly const * const poly);
mp_error_to_string(result)); \
}
void init_integer(mp_int *new_int);
void init_integers(mp_int *new_int, ...);
void init_polynom(pb_poly *new_poly, mp_int *chara);
void init_polynom_size(pb_poly *new_poly, mp_int *chara, size_t size);
@ -201,6 +199,8 @@ void pb_xor(pb_poly *a,
pb_poly *c,
const size_t len);
unsigned int get_degree(pb_poly const * const poly);
bool pb_inverse_poly_q(pb_poly *a,
pb_poly *Fq,
ntru_context *ctx);
@ -211,4 +211,5 @@ bool pb_inverse_poly_p(pb_poly *a,
void draw_polynom(pb_poly * const poly);
#endif /* NTRU_POLY_H */