Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26864602rwd; Mon, 3 Jul 2023 16:34:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XuwNzjIFZ/QdD8JEouyd7abVzE5s7dUyfmAmTB75NfWuZDWzeET0HYrRRhTMzi7tIaB66 X-Received: by 2002:a05:6a20:4406:b0:127:2dc1:c885 with SMTP id ce6-20020a056a20440600b001272dc1c885mr17798363pzb.4.1688427263220; Mon, 03 Jul 2023 16:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688427263; cv=none; d=google.com; s=arc-20160816; b=BVm947l9PWGd3Wyw4z3fu05EwRTErBGW56+vxzgzFaDnpp81m4lRstNXKeIQnWUbKC M1KnhYmyoy3acpWtE0PBvU8nJd2XiraiAkc/gVvrabwmaPvp13QVDeILp1MjrQeorQlR z/KAQRv2PvouvdIzUb1cLnaUsSmsZ2oysAN7I5UZup9H6njRGT1pRRT2AXvxzf1VXDqO LQVW3EGQOLHd1UNVjOPEAVaosjC5OCxBU23DPMPsTKAw1gomYT0tBlCFfH8ybdUQSre6 HMZ+mkKtX74b1Gv+LoV8Wa1SrE+y3EWvgmQKY2b0jxosMwTIOu9zxv/FfpyN7st4BsIb 65HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=iM3/0URcERk9StqYixMixuEsExAbxwjdorRzopj/GYs=; fh=R0MlVz0Sh5CmOQ1yaATsbwChawjIBaUeWH09N/Xzluo=; b=Qsa/kSfDdpbwfR5Wr7rhT+nLTgPF3y4uT5PsjfcgmvjaKadJEVfO5szg5Dfh5IgcKv ztoOC8qSnk1HY5U0FcSVnJMttqxj5QAim69hOeD5uS9kOrDu/aeLxiXOCUVIuE1SV77R ku3/8lrTh23R1owoLokwCqZfXVTK77t9TfkKRGyjeERlMuFMhYxEybUArsKmN/xoiHgN IvCq+kZqJjRRNOWrhzCmhdYTpg5+ho/5/kbfcKtGUbMtoi1V6/TDIj1euNi4x3dPgt2F BLZVS+zsnwtDMtCYs4pVuXTaStsHEYvOaQ7LraWfmD19I3a0fPR9+CYP5BGALFs/M0oc 8oMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a6383c2000000b0055baed7e7e9si2784292pge.653.2023.07.03.16.34.00; Mon, 03 Jul 2023 16:34:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbjGCXTm (ORCPT + 99 others); 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: X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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