Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp224115yba; Tue, 14 May 2019 23:36:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDV5xJXbK5yW0Vpsk2T5gmNKvVFfyo7MaRH38t8Sze1T7J8+hes62M04O+S8vL9U2Yn0s4 X-Received: by 2002:a65:5c82:: with SMTP id a2mr42809989pgt.378.1557902203133; Tue, 14 May 2019 23:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557902203; cv=none; d=google.com; s=arc-20160816; b=kCoZBt3d+IOLHVLwqZT0FPgsaKysksraNJKsE5pUyrpn0INnHHZ4u6qfzQzieVzy7g 4IHQ3b7TM4MPKNzhRXYVrD1Jv+lfcoVwC+50HJY0b1rJGILpF4gkK5Osf9v/GfrOIL1f 7DM8Pd8dL6HN0v6E1X/yTcC8mLkn8Tsgi0Mv+qqQIqag6qZGSkdlrarKnQDJO0TJzjLB yXYzUYbSVCOgZLYN6cTQ61b3Mp3yKh8ZU6BWsOAAo22ivUqYVZq4YPhkcOfvpN4I7enl 47tGGfaLUFn3ni/bCNKJFO7QYclQ//r6nGlettvMr/BoZFhqvbkiGF394QT44eC2Rizh yS6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=UdH4Z2FP6ofwR9nmZmA2PbVfNSkzCa/ZtLAUNHYg2n4=; b=VIt1Q0Fc9zsbdtGCguiTxJZZQtka3F5D6AefO3BtXst1/OKVuboSkmOFvlJrWBOil5 +PJ5t1IKsZI+eP7n/gW3XGmwBVwoUgdS/VxK7x6ZmKmFVfAc83q0JMNXImVO00G35lqm DAwS939kHCsiCPibCny0+Tk/upYH+llshAqlGuQiqA4M0Npi8Ui5r7CzANU+F+j3GFc6 l+JR13EEclgIqaoukX94jji0odJhc2u2Sfl7iwacmhWpBc5d0GhczvM0EHGoGyLt2Mxm lBAH4b/j9UOEv/+UIdCb+zc2EHnxCIZCcmpBoIvLjTKaIKML6SNElml515tzXjPaTXRC OcYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axtens.net header.s=google header.b=QIWLQFjn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w19si979803plq.55.2019.05.14.23.36.28; Tue, 14 May 2019 23:36:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@axtens.net header.s=google header.b=QIWLQFjn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725876AbfEOGgS (ORCPT + 99 others); Wed, 15 May 2019 02:36:18 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39018 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfEOGgS (ORCPT ); Wed, 15 May 2019 02:36:18 -0400 Received: by mail-pl1-f195.google.com with SMTP id g9so827898plm.6 for ; Tue, 14 May 2019 23:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=UdH4Z2FP6ofwR9nmZmA2PbVfNSkzCa/ZtLAUNHYg2n4=; b=QIWLQFjnqpk4Xnic82J0fYlLmGbzPw9uVrqn9kAErbtMoOpXurlqK4YloMHjH8JXp3 WMyVGXK5HaiO527nawczPIryeTdVC4p6Ndtr9A7zsdqnxTVgZrua2kwGcoLaNQRrAUU2 A2TSpgl1jEHoiRJTum0DB89TBg/GFR9SZEBlc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=UdH4Z2FP6ofwR9nmZmA2PbVfNSkzCa/ZtLAUNHYg2n4=; b=oFCqrUw9w1Kw1k6qOjUjyuMEMoBb5f2NBTY8lNcABJmp1HL2YCO6FIbLR5w91AB5Jq 9F6MRpxDBXNTSqHGPgldlNMnOBmc5RZfNqsOFmQ4+71J4ao34deBAlBVR1BWfgZLqi8O VZeUCDGjkk0BVzbpiOPB/dEOiX88ZoWp58Ym6qyiZKJieov3ku3W9S0agx0VjmYUJUeF DtBVPe67PNsOxPl56CfhSywrn7xbO7xfusDSR7Ks/KBX6kLx02J+m7m9lKDeNsK9tIrf oUsHRHNY6y7iYEcyL3LNFJuFK3kRgUNBZmz98DPMqtjtbgLgQ8Y9w/w4siPgk9aIhKQx ze7w== X-Gm-Message-State: APjAAAWgeYwBZsihzga2UspifXVUddcL5z0QlU/6r2zEvmsYfVVWG/at fYXjYF8wklXaJG7vBw8KFYXHyA== X-Received: by 2002:a17:902:7e4f:: with SMTP id a15mr42572574pln.205.1557902177541; Tue, 14 May 2019 23:36:17 -0700 (PDT) Received: from localhost (dip-220-235-49-186.wa.westnet.com.au. [220.235.49.186]) by smtp.gmail.com with ESMTPSA id r9sm2222306pfc.173.2019.05.14.23.36.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 23:36:16 -0700 (PDT) From: Daniel Axtens To: Herbert Xu Cc: Michael Ellerman , Eric Biggers , Nayna , leo.barbosa@canonical.com, Stephan Mueller , nayna@linux.ibm.com, omosnacek@gmail.com, leitao@debian.org, pfsmorigo@gmail.com, linux-crypto@vger.kernel.org, marcelo.cerri@canonical.com, George Wilson , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] crypto: vmx - fix copy-paste error in CTR mode In-Reply-To: <20190515035336.y42wzhs3wzqdpwzn@gondor.apana.org.au> References: <20190315043433.GC1671@sol.localdomain> <8736nou2x5.fsf@dja-thinkpad.axtens.net> <20190410070234.GA12406@sol.localdomain> <87imvkwqdh.fsf@dja-thinkpad.axtens.net> <2c8b042f-c7df-cb8b-3fcd-15d6bb274d08@linux.vnet.ibm.com> <8736mmvafj.fsf@concordia.ellerman.id.au> <20190506155315.GA661@sol.localdomain> <20190513005901.tsop4lz26vusr6o4@gondor.apana.org.au> <87pnomtwgh.fsf@concordia.ellerman.id.au> <877eat0wi0.fsf@dja-thinkpad.axtens.net> <20190515035336.y42wzhs3wzqdpwzn@gondor.apana.org.au> Date: Wed, 15 May 2019 16:36:12 +1000 Message-ID: <874l5w1axv.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Herbert Xu writes: > On Wed, May 15, 2019 at 03:35:51AM +1000, Daniel Axtens wrote: >> >> By all means disable vmx ctr if I don't get an answer to you in a >> timeframe you are comfortable with, but I am going to at least try to >> have a look. > > I'm happy to give you guys more time. How much time do you think > you will need? > Give me till the end of the week: if I haven't solved it by then I will probably have to give up and go on to other things anyway. (FWIW, it seems to happen when encoding greater than 4 but less than 8 AES blocks - in particular with both 7 and 5 blocks encoded I can see it go wrong from block 4 onwards. No idea why yet, and the asm is pretty dense, but that's where I'm at at the moment.) Regards, Daniel > Thanks, > -- > Email: Herbert Xu > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt