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
|