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.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

reduce.h 207B

  1. #ifndef REDUCE_H
  2. #define REDUCE_H
  3. #include <stdint.h>
  4. #define MONT 2285 // 2^16 % Q
  5. #define QINV 62209 // q^(-1) mod 2^16
  6. int16_t montgomery_reduce(int32_t a);
  7. int16_t barrett_reduce(int16_t a);
  8. #endif