Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1813025imu; Thu, 24 Jan 2019 02:18:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Iy2FxeuV49xvujUWTnN8qwZF84mo254xZgcMwGNWefGC3qaqasKOW0a80RYWaA0YkPuoO X-Received: by 2002:a17:902:b78b:: with SMTP id e11mr6007392pls.90.1548325119847; Thu, 24 Jan 2019 02:18:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548325119; cv=none; d=google.com; s=arc-20160816; b=nqgVBiY/JDh4uaW+SDU4TTJIJdk59XdiY2/f/s9dmIQp6emEow+sn2f43IfRSQ7btr KeqztQ93uCyXfszd8mjf15C6Pm8hrIEEL29o7MvTtb9+aD6ruQnNHQ1qPq/0GvjsbveW gTVggtm28m3O1dWXuFyPb02zKLvttBgj/UA44dTXZ7fjFz4np0w0Zmv2M/DE1DPiphxR NXUG5l6iRYAycJz9mz6gfjNRacZUTHnv2SggchL07x2l54vPU1QcsxBTxvuQ2S9KAjVG QvWFLMS8F4J5j9/8GB0Y0y+0/KQFGEU8ZxWIBBDf+FiPo3eNVUmqOC7sT7qejft+8whg IQjQ== 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=3SwDObEh9OokimBV+T4T/grxG1yyhQk0b56zMiko/6I=; b=GRCdIYE689/W0Mj7D8efxhJ8vgcjvMFgCGw7eMbc5vAgH/N/IrX1M6XcLUAKk5HPs0 8B7k2/26vhTY0eUtxIkHvp03qpJEIfo2FdWhkXXT9tTiCLxG0x9h7BF//H91p854TxAm K0Bjr11dXbGi3cUFwLB+kd40k4wy/NWYuFqg9CMIz+Sp1/BjSoevavacYNVAnndz+7Gk sQYpgkO8NIjiVnzKlmOwzKjW2AFN1gshV49fHOZI1oL509BiZZuMGQDSz8bS7g4fWjA7 QuWJ48VWVP4FPSgQH/aT9jLavRdAAqz+3bUMOKmbMPVRjEKteedflMUlLUc8qo8FdSjF pctA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TO+6z/ki"; 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 u9si22138189pge.48.2019.01.24.02.18.24; Thu, 24 Jan 2019 02:18:39 -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="TO+6z/ki"; 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 S1727443AbfAXKQf (ORCPT + 99 others); Thu, 24 Jan 2019 05:16:35 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:40592 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfAXKQf (ORCPT ); Thu, 24 Jan 2019 05:16:35 -0500 Received: by mail-it1-f195.google.com with SMTP id h193so3569448ita.5 for ; Thu, 24 Jan 2019 02:16:34 -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=3SwDObEh9OokimBV+T4T/grxG1yyhQk0b56zMiko/6I=; b=TO+6z/ki0ONeEuoS5OI2Q7jdQeuywhdXLvkekokMzMWiR5GQERwbrfV2mexOAoZ1GO b8I8iEvum5lYcQHoIy/2NIRn1k6gyBS6ejXQuiNFbKjsIVZ0ZP97oryjKm582yTvP3Zy /+UFbrj7Aj7S9k4WeZqssOQcus07F/KRphEkQ= 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=3SwDObEh9OokimBV+T4T/grxG1yyhQk0b56zMiko/6I=; b=ncPREvA7ZwezlyYBGYz8X3tky30lr0jDYFiahVCF2SiptjgesEv1KcmB4bqG6gFo1k 9XxiiMliOTxa2cu6V4c3mA+UbeHGkHul+Fbg9lIj2JyF9CKbWSY4iiH6xX9WdasuRMNl w4kQg/GdhHvCiTlZKx1K+krqQ+Cwzc4MAQUxHv1rVAlbdpT1ohjrStxkwVZVmM2F0bTG NORoNE9JTWgXrUZ81GtLPajIr6KiTt21pwtZNFNnwylCPVcgrGHC+J20Tq3I4SfyIM6u 20UkXjdlCcgiEfbHk3bHkRlIZcxbkrMIB1+colW4NxVuABf+/q+MLhG4z/5F+r/lrOtH jAvg== X-Gm-Message-State: AJcUukf9P7Ut3W1IkWhmhftxknYffUHYNGFZkADtln4orWaM3l8tLnI+ mwojFQBeAVTVhbV0vdf4TaKAyQVYNt5ovFcGIGKp+0XRzvA= X-Received: by 2002:a24:edc4:: with SMTP id r187mr1140494ith.158.1548324994563; Thu, 24 Jan 2019 02:16:34 -0800 (PST) MIME-Version: 1.0 References: <20190123224926.250525-1-ebiggers@kernel.org> <20190124084818.GA650@sol.localdomain> <20190124092359.hvizqdi2ptjdsot7@gondor.apana.org.au> In-Reply-To: <20190124092359.hvizqdi2ptjdsot7@gondor.apana.org.au> From: Ard Biesheuvel Date: Thu, 24 Jan 2019 11:16:23 +0100 Message-ID: Subject: Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests To: Herbert Xu Cc: Eric Biggers , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , 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 10:24, Herbert Xu wrote: > > On Thu, Jan 24, 2019 at 09:50:35AM +0100, Ard Biesheuvel wrote: > > > > Thanks for yet another round of cleanup > > > > I'll look into these, but I'd like to clarify one thing first. > > > > IIUC, you are trying to deal with the case where a single scatterlist > > element describes a range that strides two pages, and I wonder if that > > is a valid use of scatterlists in the first place. > > > > Herbert? > > Yes it is valid. IIRC the network stack may generate such a > scatterlist. > OK, so how many adjacent physical pages is a scatterlist entry permitted to cover? Unbounded?