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.
No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- #ifndef POLY_H
- #define POLY_H
-
- #include <stdint.h>
- #include "params.h"
-
- /*
- * Elements of R_q = Z_q[X]/(X^n + 1). Represents polynomial
- * coeffs[0] + X*coeffs[1] + X^2*xoeffs[2] + ... + X^{n-1}*coeffs[n-1]
- */
- typedef struct{
- int16_t coeffs[KYBER_N];
- } poly;
-
- void poly_ntt(poly *r);
-
- void poly_reduce(poly *r);
-
- #endif
|