diff options
Diffstat (limited to 'cipher/twofish.c')
-rw-r--r-- | cipher/twofish.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cipher/twofish.c b/cipher/twofish.c index a6a571ff0..554b4aa3e 100644 --- a/cipher/twofish.c +++ b/cipher/twofish.c @@ -561,11 +561,6 @@ burn_stack (int bytes) /* Perform the key setup. Note that this works only with 128- and 256-bit * keys, despite the API that looks like it might support other sizes. */ -#ifdef __riscos__ -/* need to switch off CSE optimisation for Norcroft C (Acorn/Pace) */ -#pragma no_optimise_cse -#endif /* __riscos__ */ - static int do_twofish_setkey (TWOFISH_context *ctx, const byte *key, unsigned int keylen) { @@ -701,10 +696,6 @@ do_twofish_setkey (TWOFISH_context *ctx, const byte *key, unsigned int keylen) return 0; } -#ifdef __riscos__ -#pragma optimise_cse -#endif /* __riscos__ */ - static int twofish_setkey (TWOFISH_context *ctx, const byte *key, unsigned int keylen) { @@ -775,11 +766,6 @@ twofish_setkey (TWOFISH_context *ctx, const byte *key, unsigned int keylen) /* Encrypt one block. in and out may be the same. */ -#ifdef __riscos__ -/* need to switch off CSE optimisation for Norcroft C (Acorn/Pace) */ -#pragma no_optimise_cse -#endif /* __riscos__ */ - static void do_twofish_encrypt (const TWOFISH_context *ctx, byte *out, const byte *in) { @@ -812,10 +798,6 @@ do_twofish_encrypt (const TWOFISH_context *ctx, byte *out, const byte *in) OUTUNPACK (3, b, 7); } -#ifdef __riscos__ -#pragma optimise_cse -#endif /* __riscos__ */ - static void twofish_encrypt (const TWOFISH_context *ctx, byte *out, const byte *in) { @@ -825,11 +807,6 @@ twofish_encrypt (const TWOFISH_context *ctx, byte *out, const byte *in) /* Decrypt one block. in and out may be the same. */ -#ifdef __riscos__ -/* need to switch off CSE optimisation for Norcroft C (Acorn/Pace) - bug */ -#pragma no_optimise_cse -#endif /* __riscos__ */ - static void do_twofish_decrypt (const TWOFISH_context *ctx, byte *out, const byte *in) { @@ -862,10 +839,6 @@ do_twofish_decrypt (const TWOFISH_context *ctx, byte *out, const byte *in) OUTUNPACK (3, d, 3); } -#ifdef __riscos__ -#pragma optimise_cse -#endif /* __riscos__ */ - static void twofish_decrypt (const TWOFISH_context *ctx, byte *out, const byte *in) { |