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.
|
12345678910111213 |
- #ifndef REDUCE_H
- #define REDUCE_H
-
- #include <stdint.h>
-
- #define MONT 2285 // 2^16 % Q
- #define QINV 62209 // q^(-1) mod 2^16
-
- int16_t montgomery_reduce(int32_t a);
-
- int16_t barrett_reduce(int16_t a);
-
- #endif
|