From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 622EEEB64DC for ; Mon, 3 Jul 2023 23:19:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbjGCXTm (ORCPT ); Mon, 3 Jul 2023 19:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjGCXTl (ORCPT ); Mon, 3 Jul 2023 19:19:41 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3D96107; Mon, 3 Jul 2023 16:19:38 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qGSpE-000PAt-Ks; Tue, 04 Jul 2023 09:19:21 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Tue, 04 Jul 2023 07:19:13 +0800 Date: Tue, 4 Jul 2023 07:19:13 +0800 From: Herbert Xu To: Benno Lossin Cc: "David S. Miller" , FUJITA Tomonori , rust-for-linux@vger.kernel.org, Gary Guo , "linux-crypto@vger.kernel.org" Subject: Re: [RFC PATCH v2 1/2] rust: add synchronous message digest support Message-ID: References: <20230615142311.4055228-1-fujita.tomonori@gmail.com> <20230615142311.4055228-2-fujita.tomonori@gmail.com> <20230622.111419.241422502377572827.ubuntu@gmail.com> <0a9af5fa-4df2-11da-b3cb-0a6b1d27fdc2@proton.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jun 30, 2023 at 02:48:37PM +0000, Benno Lossin wrote: > > 4. return an error This would seem to make the most sense. If there is ever a need to hash more than 4G of data, we would be adding this to C first. At this point I can't see why we would need to do that so an error would be the appropriate response. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt