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.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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