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.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011121314151617
  1. #include <stdint.h>
  2. #include "polyvec.h"
  3. #include "poly.h"
  4. /*************************************************
  5. * Name: polyvec_ntt
  6. *
  7. * Description: Apply forward NTT to all elements of a vector of polynomials
  8. *
  9. * Arguments: - polyvec *r: pointer to in/output vector of polynomials
  10. **************************************************/
  11. void polyvec_ntt(polyvec *r)
  12. {
  13. int i;
  14. for(i=0;i<KYBER_K;i++)
  15. poly_ntt(&r->vec[i]);
  16. }