diff options
author | Robert Relyea <rrelyea@redhat.com> | 2023-02-27 15:19:20 -0800 |
---|---|---|
committer | Robert Relyea <rrelyea@redhat.com> | 2023-02-27 15:19:20 -0800 |
commit | f4262a3db99a22b38fc8d6d9e8103ad31a697f9f (patch) | |
tree | 8b77dde21c43c846e9312de578887c0492469da3 /lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h | |
parent | 9a7e1bc157adb261651fefb791901614460843a1 (diff) | |
download | nss-hg-f4262a3db99a22b38fc8d6d9e8103ad31a697f9f.tar.gz |
This change was supposed to be pushed to nss-try,
but something went out of wack. Back this change out of the tip
Diffstat (limited to 'lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h')
-rw-r--r-- | lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h b/lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h deleted file mode 100644 index 26d9b4ee2..000000000 --- a/lib/liboqs/src/sig/dilithium/pqcrystals-dilithium_dilithium3_ref/reduce.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef REDUCE_H -#define REDUCE_H - -#include <stdint.h> -#include "params.h" - -#define MONT -4186625 // 2^32 % Q -#define QINV 58728449 // q^(-1) mod 2^32 - -#define montgomery_reduce DILITHIUM_NAMESPACE(montgomery_reduce) -int32_t montgomery_reduce(int64_t a); - -#define reduce32 DILITHIUM_NAMESPACE(reduce32) -int32_t reduce32(int32_t a); - -#define caddq DILITHIUM_NAMESPACE(caddq) -int32_t caddq(int32_t a); - -#define freeze DILITHIUM_NAMESPACE(freeze) -int32_t freeze(int32_t a); - -#endif |