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.

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