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.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

  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