svn commit: r328091 - head/sys/crypto/via
Dimitry Andric
dim at FreeBSD.org
Wed Jan 17 17:14:20 UTC 2018
Author: dim
Date: Wed Jan 17 17:14:19 2018
New Revision: 328091
URL: https://svnweb.freebsd.org/changeset/base/328091
Log:
Revert r327340, as the workaround for rep prefixes followed by .byte
directives is no longer needed after r328090.
Modified:
head/sys/crypto/via/padlock_cipher.c
Directory Properties:
head/ (props changed)
Modified: head/sys/crypto/via/padlock_cipher.c
==============================================================================
--- head/sys/crypto/via/padlock_cipher.c Wed Jan 17 17:11:55 2018 (r328090)
+++ head/sys/crypto/via/padlock_cipher.c Wed Jan 17 17:14:19 2018 (r328091)
@@ -88,7 +88,7 @@ padlock_cbc(void *in, void *out, size_t count, void *k
__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)
More information about the svn-src-all
mailing list