mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 07:59:01 +00:00
13 lines
172 B
C
13 lines
172 B
C
|
#ifndef REDUCE_H
|
||
|
#define REDUCE_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
uint16_t freeze(uint16_t x);
|
||
|
|
||
|
uint16_t montgomery_reduce(uint32_t a);
|
||
|
|
||
|
uint16_t barrett_reduce(uint16_t a);
|
||
|
|
||
|
#endif
|