From owner-svn-src-all@freebsd.org Wed Jan 17 17:14:20 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B093EE7BB6E; Wed, 17 Jan 2018 17:14:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C631787A8; Wed, 17 Jan 2018 17:14:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C519A1255A; Wed, 17 Jan 2018 17:14:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HHEJRk083802; Wed, 17 Jan 2018 17:14:19 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0HHEJng083801; Wed, 17 Jan 2018 17:14:19 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201801171714.w0HHEJng083801@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 17 Jan 2018 17:14:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328091 - head/sys/crypto/via X-SVN-Group: head X-SVN-Commit-Author: dim X-SVN-Commit-Paths: head/sys/crypto/via X-SVN-Commit-Revision: 328091 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 17:14:20 -0000 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)