diff options
author | Stefan Bellon <[email protected]> | 2003-12-28 14:12:16 +0000 |
---|---|---|
committer | Stefan Bellon <[email protected]> | 2003-12-28 14:12:16 +0000 |
commit | 02ae08d6ef94c461c7aa82f50fb0c111cc8ead82 (patch) | |
tree | 3cb13daf0f20df967563036646b40836d412518e /cipher/twofish.c | |
parent | * keyserver.c (strip_leading_space, get_arg): New. (diff) | |
download | gnupg-02ae08d6ef94c461c7aa82f50fb0c111cc8ead82.tar.gz gnupg-02ae08d6ef94c461c7aa82f50fb0c111cc8ead82.zip |
cleaned up RISC OS code and removed lots of unnecessary stuff
Diffstat (limited to '')
-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) { |