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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

  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