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.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

  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. }