Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2030156imu; Thu, 24 Jan 2019 06:10:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN5gpKVaCGZ4IbiCdWWKn+32dTGZUm9gyck3VCYnCITtH7R82t67Wn5s870qmgaRUPheNNdX X-Received: by 2002:a17:902:4401:: with SMTP id k1mr6722789pld.307.1548339050457; Thu, 24 Jan 2019 06:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548339050; cv=none; d=google.com; s=arc-20160816; b=jXpwWBOAnjDvNQHktURICI9I7o99u1PWmKS9Wl1LBpGhyqHY+STqk4+uUdJK0AmoTD xZBV1wlRZjaujjOGFvnzXbuXYIXVdc4WoUx28falCcnUZp5z1jgzsspX42GW6n0+Xg+A hT4dw/fa8n1oNBOu70fC+iRJb0+xRpAMFi6YZKFaWYUkA+z5F8QK1gBpC265ox7EcD1w rMx6wquPuEYFE8nVwjtDndu8zYM8e3LNa0ZbFLJFMy2TE9NJjTKAaMBimSytQPwHfcbu uuhBRmR2Dpi8e0uzttE20GZGc70I/P+LS5tlWfFs2KLCz4cgyuNev8vYZ6DDgxWfM91p rb1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Uxj8XOwvdIoz9PkIKRxaosXpnX6yAk4tAYyXLmR8emI=; b=CBU74qpCQ5daPqX0L0rRgxgcAlqh+deyeFCfM8sLyJL3bUa6PQP/iuyjbpEhDi+UM7 ieQyBvx2Ylti/Pped2M5eTUfKZjR2wYHUkibF23JSyacizQQRroLGFOFWLTzK6xCwF6O QHYBkMkeCpjOrn/yA9i6zg1ZIpbVeNAnD1BWKfmlBshWiPZ7SK84QhantyQD9ZyaXeam DaCPfDPncUZIi7Et4rWz+i4TYiw+i7vz5OyB6/pCDFO+1xX0yegk9vu+OsErUquVe/Ve rEG4LnakGjwa7lFhGlhT7R8/kal2sh1HoSHKP+k7Px4Hwh2IV3piQqVV63vGDfM59Udd useA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RSD6g2Qd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si22894108pga.219.2019.01.24.06.10.33; Thu, 24 Jan 2019 06:10:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@linaro.org header.s=google header.b=RSD6g2Qd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728036AbfAXOJw (ORCPT + 99 others); Thu, 24 Jan 2019 09:09:52 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:36024 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727596AbfAXOJw (ORCPT ); Thu, 24 Jan 2019 09:09:52 -0500 Received: by mail-it1-f194.google.com with SMTP id c9so4565613itj.1 for ; Thu, 24 Jan 2019 06:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uxj8XOwvdIoz9PkIKRxaosXpnX6yAk4tAYyXLmR8emI=; b=RSD6g2QdAoHfCvVpVxwPXlX9+gJ2M4Olo0F9KRxCphcRv5ErccuwJDB/Bf/vCEM6ng a9W/sZOKUEZF/QxjSLuooT6BV40PSmbA+5Vwh80qe6SrtMH7WQSmRJpAbYUSjse18ukn A4VXJhN+6PUN1+p1Bp0TVmslVd/uxIdW/+vGY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uxj8XOwvdIoz9PkIKRxaosXpnX6yAk4tAYyXLmR8emI=; b=ZjjAxJVSsg0Ruuiv83zoQjCwMntLWNAGGEWCEmI7klReaYzjInJI++hLaykJryjJfZ eD4JSnF/km5DRR8jeYpPrZ2FeFvj9exrXZdHDpzRJAtF7rx58RIl7Dtz+nwmnnhTSIn7 EdUbS3ABTzR2ZIYp2MmnFLXrc03jLSH9vOxsHJtd8BnMrCUu4hTzzhLzPQoCY3bOirvC 4QKxIGyzbu3WxxJfFAqVTScCi0JpE9yweJHFHmFQH7nKr1FW6wD9umBGOq3HpOZnbfxD rGpbmyLhFtKHDjUNBFLW6YksVNEx9fwsOiw+ukI6sw8vmWcGotCPlf44qhWY4owdmkSB jnfw== X-Gm-Message-State: AJcUukfGOXxVM1Y3kWx5Xt8iIqcq7dXRvDLqEkI1EGUBJmDV69WJ5Y7h fV9TBoAJDfSGqxmfyNsCyCCnBrzxiatjwq5YlflGExWPxIc= X-Received: by 2002:a02:734b:: with SMTP id a11mr3693952jae.62.1548338990973; Thu, 24 Jan 2019 06:09:50 -0800 (PST) MIME-Version: 1.0 References: <20190123224926.250525-1-ebiggers@kernel.org> <20190123224926.250525-12-ebiggers@kernel.org> <20190124131414.GA13624@Red> In-Reply-To: <20190124131414.GA13624@Red> From: Ard Biesheuvel Date: Thu, 24 Jan 2019 15:09:40 +0100 Message-ID: Subject: Re: [RFC/RFT PATCH 11/15] crypto: testmgr - convert skcipher testing to use testvec_configs To: Corentin Labbe Cc: Eric Biggers , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Herbert Xu , Linux Kernel Mailing List , "Jason A . Donenfeld" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Jan 2019 at 14:14, Corentin Labbe wrote: > > On Thu, Jan 24, 2019 at 01:36:23PM +0100, Ard Biesheuvel wrote: > > On Wed, 23 Jan 2019 at 23:53, Eric Biggers wrote: > > > > > > From: Eric Biggers > > > > > > Convert alg_test_skcipher() to use the new test framework, adding a list > > > of testvec_configs to test by default. When the extra self-tests are > > > enabled, randomly generated testvec_configs are tested as well. > > > > > > This improves skcipher test coverage mainly because now all algorithms > > > have a variety of data layouts tested, whereas before each algorithm was > > > responsible for declaring its own chunked test cases which were often > > > missing or provided poor test coverage. The new code also tests both > > > the MAY_SLEEP and !MAY_SLEEP cases, different IV alignments, and buffers > > > that cross pages. > > > > > > This has already found a bug in the arm64 ctr-aes-neonbs algorithm. > > > It would have easily found many past bugs. > > > > > > I removed the skcipher chunked test vectors that were the same as > > > non-chunked ones, but left the ones that were unique. > > > > > > Signed-off-by: Eric Biggers > > > > This patch does not apply after applying 1..10 onto cryptodev/master > > > > Do you have a tree somewhere? > > Hello > > I got the same with next. > You need to apply "crypto: clarify name of WEAK_KEY request flag" from his repo: > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git branch testmgr-improvements > Thanks I just pulled that branch entirely instead.