summaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2006-10-19 20:55:05 +0000
committerAndy Polyakov <appro@openssl.org>2006-10-19 20:55:05 +0000
commit3634d7e97a530ec07b6ebe367c35ebba490c480f (patch)
tree6601199031643d115eb4e44b623e7624888782cf /crypto/engine
parent53d7efea76c838c01b2df2c16aca7c2485068d39 (diff)
Gcc over-optimizes PadLock AES CFB codepath, tell it not to.
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_padlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/eng_padlock.c b/crypto/engine/eng_padlock.c
index 8d92af6f8b..e1d66eac58 100644
--- a/crypto/engine/eng_padlock.c
+++ b/crypto/engine/eng_padlock.c
@@ -436,8 +436,8 @@ static inline void *name(size_t cnt, \
rep_xcrypt "\n" \
" popl %%ebx" \
: "=a"(iv), "=c"(cnt), "=D"(out), "=S"(inp) \
- : "0"(cdata), "1"(cnt), "2"(out), "3"(inp) \
- : "edx", "cc"); \
+ : "0"(cdata), "1"(cnt), "2"(out), "3"(inp), "m"(*cdata) \
+ : "edx", "cc", "memory"); \
return iv; \
}