summaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/f_generic.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-11-16 16:22:00 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:29 +0000
commita469abf05e8ffa374cba03c07c97b07c0a41372f (patch)
tree382dfa28f896acf643869cee6e956df7911d9e9f /crypto/ec/curve448/f_generic.c
parent67f1cccd7e527e6865ff9e86820c7f2b25da49b4 (diff)
Remove some uneeded macros and conditionally compiled code
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/f_generic.c')
-rw-r--r--crypto/ec/curve448/f_generic.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/ec/curve448/f_generic.c b/crypto/ec/curve448/f_generic.c
index d09a989f67..b8ba0a691d 100644
--- a/crypto/ec/curve448/f_generic.c
+++ b/crypto/ec/curve448/f_generic.c
@@ -16,12 +16,6 @@
static const gf MODULUS = {FIELD_LITERAL(
0xffffffffffffff, 0xffffffffffffff, 0xffffffffffffff, 0xffffffffffffff, 0xfffffffffffffe, 0xffffffffffffff, 0xffffffffffffff, 0xffffffffffffff
)};
-
-#if P_MOD_8 == 5
- const gf SQRT_MINUS_ONE = {FIELD_LITERAL(
- /* NOPE */
- )};
-#endif
/** Serialize to wire format. */
void gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) {