Re: [openpgp] AEAD Chunk Size

"Derek Atkins" <derek@ihtfp.com> Tue, 16 April 2019 00:16 UTC

Return-Path: <derek@ihtfp.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58CCA1202A7 for <openpgp@ietfa.amsl.com>; Mon, 15 Apr 2019 17:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.989
X-Spam-Level:
X-Spam-Status: No, score=-1.989 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sD_aZRPodtCG for <openpgp@ietfa.amsl.com>; Mon, 15 Apr 2019 17:16:07 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE71E120043 for <openpgp@ietf.org>; Mon, 15 Apr 2019 17:16:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 12ED1E2042; Mon, 15 Apr 2019 20:16:06 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 04456-01; Mon, 15 Apr 2019 20:16:02 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 55B7CE2045; Mon, 15 Apr 2019 20:16:02 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1555373762; bh=Y2w2iHFEr+mRAwMFMtfU314CJJGMCNlZXhF98LD52fk=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=MDFDTvUo1sTAjHz8C903By5dDDOSpMlpuxrK3g63UqJ2ws2wkzT9fY9ldzB6ScFjh ZLVVeA2dDBAZoqYihmAOZzDF6zkTSZCeheEGCJ6aMHG/qHNU5roK6A/oPHGdt2sUiw X1Fe/gzio8v9vH4ua1KWo4Vg1mY3Z/6DYl9iqjcw=
Received: from 99.46.190.172 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Mon, 15 Apr 2019 20:16:02 -0400
Message-ID: <2dfa15ba7b415fe08df299c34bd42f61.squirrel@mail2.ihtfp.org>
In-Reply-To: <18FF6D9C-B285-406E-A344-E6362646DE68@icloud.com>
References: <87mumh33nc.wl-neal@walfield.org> <878swzp4fb.fsf@europa.jade-hamburg.de> <E65F6E9D-8B0B-466D-936B-E8852F26E1FF@icloud.com> <87d0m9hl62.wl-neal@walfield.org> <FEE9711C-3C64-493C-8125-89696B882E0A@icloud.com> <2di2bK8m-7HtDeoUEH9oPqs-bL-IKSE0CjkgFShPMLOlUyeDBVkVGApdjnIpS6YRAeKU3ibGCZCtwLden-N6zK5W4fqIghRGDa5dU720nEs=@protonmail.com> <73739F8A-5E9F-4277-B053-FDD2E8D81B17@icloud.com> <cc75QwJwTIffqLK7fzZ3A2Pw1Vb3_lkhSHfYRPyASZcxceG2c0Cpbld529WsXosP7X9x4agikpGD4dVTXK8iaRkblS9Jokv1tD2TceQBbyE=@protonmail.com> <18FF6D9C-B285-406E-A344-E6362646DE68@icloud.com>
Date: Mon, 15 Apr 2019 20:16:02 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Jon Callas <joncallas=40icloud.com@dmarc.ietf.org>
Cc: Bart Butler <bartbutler@protonmail.com>, "openpgp@ietf.org" <openpgp@ietf.org>, Justus Winter <justuswinter@gmail.com>, "Neal H. Walfield" <neal@walfield.org>, Jon Callas <joncallas@icloud.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/FniG9RsLaq1ARJO5H5L3JeqYMLI>
Subject: Re: [openpgp] AEAD Chunk Size
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2019 00:16:10 -0000

Jon,

On Mon, April 15, 2019 8:00 pm, Jon Callas wrote:
>
[snip]

> Me too. I think saying 256K is fine. I have an intuition it ought to be at
> least as large as the largest Jumbo Frame, and that's 9K so round to 16K.
> Let me restate the proposal.
>
> (1) MUST support up to <chunk-size> chunks.
> (3) MAY support larger up to the present very large size.
> (4) MAY reject or error out on chunks larger than <chunk-size>
>
> And it seems that 256K is the proposal for <chunk-size>. Are we agreed on
> all that?

I would rather 256K not be the One Required Size.  It's larger than the
RAM size on some of my systems.  I would still prefer 16K (or even 8K).

-derek

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant