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.
|
- #include <stdint.h>
- #include "polyvec.h"
- #include "poly.h"
-
- /*************************************************
- * Name: polyvec_ntt
- *
- * Description: Apply forward NTT to all elements of a vector of polynomials
- *
- * Arguments: - polyvec *r: pointer to in/output vector of polynomials
- **************************************************/
- void polyvec_ntt(polyvec *r)
- {
- int i;
- for(i=0;i<KYBER_K;i++)
- poly_ntt(&r->vec[i]);
- }
|