diff options
Diffstat (limited to 'cipher/blowfish.c')
-rw-r--r-- | cipher/blowfish.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cipher/blowfish.c b/cipher/blowfish.c index c19d8f341..d8ad1d00d 100644 --- a/cipher/blowfish.c +++ b/cipher/blowfish.c @@ -502,7 +502,10 @@ selftest(void) return NULL; } - +#ifdef __riscos__ +/* need to switch off CSE optimisation for Norcroft C (Acorn/Pace) */ +#pragma no_optimise_cse +#endif /* __riscos__ */ static int do_bf_setkey( BLOWFISH_context *c, byte *key, unsigned keylen ) @@ -587,6 +590,10 @@ do_bf_setkey( BLOWFISH_context *c, byte *key, unsigned keylen ) return 0; } +#ifdef __riscos__ +#pragma optimise_cse +#endif /* __riscos__ */ + static int bf_setkey( BLOWFISH_context *c, byte *key, unsigned keylen ) { |