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.
|
- #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]);
- }
|