Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35807825rwd; Mon, 10 Jul 2023 12:59:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlHVWFHNG7BatqVNYj1HgeaPLfdpmJ8tG/w2ldsY6t8UNBKLf9hBqmeowDuNymKn9hfWySBm X-Received: by 2002:a05:6a20:8e25:b0:127:7ea7:e039 with SMTP id y37-20020a056a208e2500b001277ea7e039mr13151486pzj.62.1689019197704; Mon, 10 Jul 2023 12:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689019197; cv=none; d=google.com; s=arc-20160816; b=OAnlFi30COLL+VatrhVBBVFAR5uq1tsO51lSkBg+e5fKxrEdtJtjFjWNO37InJpFyR jyGECtdqWPPLublWjESmCjQI9RenoOFYm2siRVUoTI4dZP029CNYOTze8pF4ILnpcQcn cZ+mAsKKVTZ1V1wQpuBFk+6CeJu21npU/9cIP93va8umO6fg6OxLq5yFlibe101ycvJZ gKtZyWLPKZbd5sVj1Eu4z8jWcHApJUm5owEJYX6n0B9mnlLIV60k5iBmT+iUcxF7iZSm e3bST6ab0kH1yQbUsUTVlAzFuKKeFvlVuvSun5sIZSN53Fx7ILbKCgasEOkGt42BMGfs G5Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=fwTczJjO5YIeWHPdb8frxed9Xwy/RsdVULIpyuRV/9s=; fh=LMrYQjAzjvypcrgHeGEA8lkGDkxWW3XuIykylPyd4d0=; b=WADTuRk1RlIOIDFVxK6clgrQRe0F5UsVrsKywMxnEmTf1aZ8U1rZWRfegYEdDQAcE2 Nrf3TsgaDrDUzfBA+SXmrD9e3Jo+m5eaPVDLbWc3x/Qb2/rZ171oxsVq2N5L16trgbPf zXqi+jDUAVVxm224A0PiTGv/RoIxVpvxw/nSDN2V6K8B4WBVIaxa0gPUpMVQNuXueO/D rNYt3vkuEInsGWnAN5xfdNMzYrVdsZX8Q2opvlUNJMha6cAb7XNYPB2ATUba0JEXk6NG KrnOPSSYhjAabquTtsLsIgl/dZ6zLabdP7wRyibyK8jurYDIAZLb9ELMuKxucrtTrK// N7yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b=UiBU+YqZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r20-20020a6560d4000000b0055b4ef605e9si130574pgv.496.2023.07.10.12.59.35; Mon, 10 Jul 2023 12:59:57 -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; dkim=pass header.i=@proton.me header.s=protonmail header.b=UiBU+YqZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjGJT7S (ORCPT + 99 others); Mon, 10 Jul 2023 15:59:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjGJT7R (ORCPT ); Mon, 10 Jul 2023 15:59:17 -0400 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 541C413E; Mon, 10 Jul 2023 12:59:13 -0700 (PDT) Date: Mon, 10 Jul 2023 19:59:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1689019149; x=1689278349; bh=fwTczJjO5YIeWHPdb8frxed9Xwy/RsdVULIpyuRV/9s=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UiBU+YqZ/zP8STxUEcG9HzxFvjnSZ/IB9Z+cX4tsBK9DgeQfUYVdVy74mkR+30PoA Wf6pPdd3n9Fo7KuplCxZwt6KZNh4MOdKq9Eb42BdnLPz95ogZXZLarSBuhpPWCGvI0 O/k+LV0yWi0M6ZYdaZx1y09Qv+xDeuo0EUSi1xkss/y3G1auJMqFSV90QevDXTqVSQ Y9M12ogkB5eZzg5mzWLrPfd5pZadkgKIhJUkLA/ajA1vdKpDYiqCDBIjyBezKNh1qr 92ntvXovlJxeJNR8uJ9QJEvegwNZAzb2qUgr7NF1H2ovSbctDXarXJaXa2kjs2NHsH z2Dw4HsKemJlw== To: Herbert Xu From: 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: <35ylz3z7b7bamGPbpNxUZiu46bLTDm374XORwrK3O18N408p9yPyMAWfnFJOuiEkT6booUB4dx-X7V4vjGPyA_uIA7o4_tS8-l23OCGmiY4=@proton.me> In-Reply-To: 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> Feedback-ID: 71780778:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 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 ------- Original Message ------- On Tuesday, July 4th, 2023 at 01:19, Herbert Xu wrote: > On Fri, Jun 30, 2023 at 02:48:37PM +0000, Benno Lossin wrote: >=20 > > 4. return an error >=20 >=20 > This would seem to make the most sense. >=20 > If there is ever a need to hash more than 4G of data, we would > be adding this to C first. >=20 > At this point I can't see why we would need to do that so an > error would be the appropriate response. >=20 > Thanks, > -- > Email: Herbert Xu herbert@gondor.apana.org.au >=20 > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt Thanks a lot for taking a look! -- Cheers, Benno