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.
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- #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
|