Python-ELMO is a Python library which offers an encapsulation of the binary tool ELMO, in order to manipulate it easily in Python and SageMath script.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

poly.h 323B

  1. #ifndef POLY_H
  2. #define POLY_H
  3. #include <stdint.h>
  4. #include "params.h"
  5. /*
  6. * Elements of R_q = Z_q[X]/(X^n + 1). Represents polynomial
  7. * coeffs[0] + X*coeffs[1] + X^2*xoeffs[2] + ... + X^{n-1}*coeffs[n-1]
  8. */
  9. typedef struct{
  10. int16_t coeffs[KYBER_N];
  11. } poly;
  12. void poly_ntt(poly *r);
  13. void poly_reduce(poly *r);
  14. #endif