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.
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- #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
|