Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 17:14:19 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328091 - head/sys/crypto/via
Message-ID:  <201801171714.w0HHEJng083801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801171714.w0HHEJng083801>