Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp72495yba; Wed, 15 May 2019 19:13:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgiq6TmVcUgBn1u2+rsQy94nx1q4bb5gBhoX2bm7VpRcXw3/b0KygijJzZmcZb84T5JaKB X-Received: by 2002:a65:6490:: with SMTP id e16mr34770627pgv.13.1557972833801; Wed, 15 May 2019 19:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557972833; cv=none; d=google.com; s=arc-20160816; b=Jr3VFReXLMRmibinPOo7gcJuXd3/NRWetwW6tMMzb8UHRGUSEqgwDbqFW1zhcm5Mwz R7WoI04F43HaOtqs36IHFXd375EmeVwiCcU3KfholW3mkLoy4yK8dzteRYXsRgNRfzME Ec1FqpPptEpsLqD8J5sI6+SbtdWOjiwYzrDymzS3vOwqjs0oKyRSXKggqaEa1XzQUusR 9dmX+Ma2WhB3TcDmNKfWxhJZmPSF7Gr7XdzocuR4CxNdIcasO//cUZi359CnrlkiRKOV 4MiWat6bdmtzikCUyviXmq7iUayY4RVlyd+mwVXr0fJb0aISib4K7YSumi69wKEcurL/ HvYw== 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=P1EJ1RRPpfxvuymwKbVdpkG8jtFroZ7XoSxbEw7EEDk=; b=Eq/vaXfg5XnKouuB5a9TBFm9DXsRCclm41hiHRUWYmbaYDFX6E5fF5Ipg6eSiTd7sc IVwU8F/xOLn9Jf4YNAVWDGFQT5hZKyH8Mjfe1lZW8Q1iOsO7fUPReGDyS4mn1kAlzcEi OLhEKKZK38hTob5zsJGQmRXoQ/jXY/cPf2VY7MXLzqDTaW7D4z+EwlaCDLHG9hGGiNZq 1FTnDOYTkO1f+z+KhMCfcRuQ2GO3e4JAfzbFo2laVnBrODnwkqKYbM5Dlyk9UpnfKudK nBaOjXkVmKUmMSj9MeOCvVMr1QF5o2Zbqb7ZEodqH63qLe+CUXNziZWJP86CdgKhp9ML vWKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axtens.net header.s=google header.b=diGpPQUv; 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 l27si3349711pgm.172.2019.05.15.19.13.28; Wed, 15 May 2019 19:13:53 -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=diGpPQUv; 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 S1726190AbfEPCMx (ORCPT + 99 others); Wed, 15 May 2019 22:12:53 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40542 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725974AbfEPCMx (ORCPT ); Wed, 15 May 2019 22:12:53 -0400 Received: by mail-pf1-f196.google.com with SMTP id u17so957924pfn.7 for ; Wed, 15 May 2019 19:12:52 -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=P1EJ1RRPpfxvuymwKbVdpkG8jtFroZ7XoSxbEw7EEDk=; b=diGpPQUvm5HSFAy+VLt5eOwRlixnUhHkksBGIzBsBzh/MBpy6JPSkSleSXUipe4h7P K/HBmfOJtXeFye86w4oHBVGSdu17ef1ZyvuT0TqMkKvz6c9CvoxDyFEUES2mkTKoXY/I MLFvlXUK8yNmWyIKd25+axaHewj41UfMrKGp8= 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=P1EJ1RRPpfxvuymwKbVdpkG8jtFroZ7XoSxbEw7EEDk=; b=l4fKbvdpckAbWnv57TjGMaNjq9uJ8KOwyv7rLQwp34b3SFXv34N7H8H40coY6cikqU eEWS5kmnxkaoC7ysMAlx7k/JMGCQt0/U4WCBgZ05SmihXSBtkYVJnjDCAmnnpECb8V8S Ya/gkePehYJ3j9+HLuUQ7BUXS53gt7sMUIZqECB/4VStrj4UEO8pqth77PSJnoM1+8+M XBkZu69eh0lfUh6Mn6OVrL55WVY9PqmontFuI9NiUCDJGGX7XsNy2sGTLZJuNm7ZRFYh r84eepIP/12dJZJfXL3Ay18txKxUhnOINHD2M901WXZOy3U3GVCo4q1kLb7Axj9exHNZ lMsg== X-Gm-Message-State: APjAAAXOotq+qUFL8dWL3UL8Ibsw3wyG0FGizDhDDXstQE0yFU4AC0fu HGvfMMz7sQQutLWRPn4peRm2vw== X-Received: by 2002:aa7:95bb:: with SMTP id a27mr39662147pfk.30.1557972772641; Wed, 15 May 2019 19:12:52 -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 132sm4162765pga.79.2019.05.15.19.12.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 19:12:51 -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: <874l5w1axv.fsf@dja-thinkpad.axtens.net> 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> <874l5w1axv.fsf@dja-thinkpad.axtens.net> Date: Thu, 16 May 2019 12:12:48 +1000 Message-ID: <871s0z171b.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 Daniel Axtens writes: > 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. So as you've hopefully seen, I've nailed it down and posted a patch. (http://patchwork.ozlabs.org/patch/1099934/) I'm also seeing issues with ghash with the extended tests: [ 7.582926] alg: hash: p8_ghash test failed (wrong result) on test vector 0, cfg="random: use_final src_divs=[9.72%@+39832, 18.2%@+65504, 45.57%@alignmask+18, 15.6%@+65496, 6.83%@+65514, 1.2%@+25, > (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