aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-01-17 17:14:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-01-17 17:14:19 +0000
commit64e12b4140ffeaea04b7230d506ee0326e3b077d (patch)
tree73a8f4cfbc7fdc8f62f6423e4297fa4c3c3e04b9 /sys
parentd23c4359df729f97090c1b05fa4c10888deab21a (diff)
downloadsrc-64e12b4140ffeaea04b7230d506ee0326e3b077d.tar.gz
src-64e12b4140ffeaea04b7230d506ee0326e3b077d.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/crypto/via/padlock_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/via/padlock_cipher.c b/sys/crypto/via/padlock_cipher.c
index 6d1f39f736cb..0e4beb85dc58 100644
--- a/sys/crypto/via/padlock_cipher.c
+++ b/sys/crypto/via/padlock_cipher.c
@@ -88,7 +88,7 @@ padlock_cbc(void *in, void *out, size_t count, void *key, union padlock_cw *cw,
__asm __volatile(
"pushf \n\t"
"popf \n\t"
- ".byte 0xf3 \n\t"
+ "rep \n\t"
".byte 0x0f, 0xa7, 0xd0"
: "+a" (iv), "+c" (count), "+D" (out), "+S" (in)
: "b" (key), "d" (cw)