Re: [openpgp] AEAD Chunk Size

Ronald Tse <tse@ribose.com> Thu, 28 February 2019 00:34 UTC

Return-Path: <tse@ribose.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 BB9B01311D7 for <openpgp@ietfa.amsl.com>; Wed, 27 Feb 2019 16:34:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ribose.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 CFItUeh6m-QS for <openpgp@ietfa.amsl.com>; Wed, 27 Feb 2019 16:34:47 -0800 (PST)
Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-eopbgr1300080.outbound.protection.outlook.com [40.107.130.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB36E130EEC for <openpgp@ietf.org>; Wed, 27 Feb 2019 16:34:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ribose.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oU4KY0UbqGboKboLWgicurhH+FSkNo2Z0eH+k3+rqII=; b=mpv3oKOrz+bmdmUxzkEs0w4dMzrM8ovbbtTguUiyt2QyiojJrwNQCOruORJkkKl8FUF3P3Sn6E63R6OQ7udDVDg4FyUG4piZ8sAZGziU3R95eDRd8Ihp9MJ6lUW+5SvZZ2mZJvBqngyTNMiJaTSuM9kFWIyXKfxnNrWUQlwV3y8=
Received: from SG2PR01MB2776.apcprd01.prod.exchangelabs.com (20.177.169.82) by SG2PR01MB2743.apcprd01.prod.exchangelabs.com (20.177.170.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Thu, 28 Feb 2019 00:34:42 +0000
Received: from SG2PR01MB2776.apcprd01.prod.exchangelabs.com ([fe80::79b5:927d:1203:98cc]) by SG2PR01MB2776.apcprd01.prod.exchangelabs.com ([fe80::79b5:927d:1203:98cc%4]) with mapi id 15.20.1665.015; Thu, 28 Feb 2019 00:34:42 +0000
From: Ronald Tse <tse@ribose.com>
To: Jon Callas <joncallas=40icloud.com@dmarc.ietf.org>
CC: "openpgp@ietf.org" <openpgp@ietf.org>
Thread-Topic: [openpgp] AEAD Chunk Size
Thread-Index: AQHUzop/kFDDrLByAk23BDwcx/qYg6XzgT4AgACqBYCAABGnAIAABmWAgAARlgCAAAjQ7g==
Date: Thu, 28 Feb 2019 00:34:42 +0000
Message-ID: <2C8450F0-76D2-4EE7-934C-546C5131FF1F@ribose.com>
References: <87mumh33nc.wl-neal@walfield.org> <F9VLV9HZWH.3RYL3UM3BN873@my.amazin.horse> <3WZ7-hy9V7TOy53p1gP5EXELzHJIqjouV9x0YTN3PWsBZedKkqvVCRm-2XzGZy-FYAYdTqP1-7YV4wbTWMWAYhSujQA6NmrnIuXfZLRHkdQ=@protonmail.com> <CAB941EE-6961-4CAB-9632-DFF738980467@icloud.com> <HBifY5kv2OqoajWurbHh_-NyZaBUZGabUpbxfhLlw8lTEuJVAiaHr-hhL_v5jKI-uqfeTIKD2S8VbEKvImC2sxhSlxD3GsT8LBzXKaOeHLI=@protonmail.com>, <431339C1-8DDA-47D0-B233-9B7F49F0692A@icloud.com>
In-Reply-To: <431339C1-8DDA-47D0-B233-9B7F49F0692A@icloud.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=tse@ribose.com;
x-originating-ip: [124.217.189.165]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5453d80b-7faf-4d73-15bd-08d69d148806
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(7168020)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:SG2PR01MB2743;
x-ms-traffictypediagnostic: SG2PR01MB2743:
x-microsoft-exchange-diagnostics: =?utf-8?B?MTtTRzJQUjAxTUIyNzQzOzIzOllwczhxNm9mMG9TYVI0N1FjU0Y4OE85MVZw?= =?utf-8?B?OE1IZFJsckx5NUduSGtvUlBDTFZYZHRIWmRFZmJ4dUdxdlc1TjBkQWpXaEgr?= =?utf-8?B?R3FIMHVHcC9WUG5tL1doVEJualZENU8zOUtocnF2MWlCWWM5YjE0M0pMS21H?= =?utf-8?B?U0xEMHp0VE5aT3loMzNpcDJLQ1Qra2pGK1NHeVplT3hVQS8rME5KRU1EWWpX?= =?utf-8?B?YkN5YW5ZOTQ3dHdkWmFHRWorazEzUWp2Q0JxZWlaV0hadkl1QjlDSkpVVFZ6?= =?utf-8?B?NEt0cDh4eUI4c3Mxa2hTYUFVUW11anJRc1lvVXFGL3VVWTByTUlybDE0Zy9z?= =?utf-8?B?dXp3ZkMzalpLd3FmZGVRcXJwK3RDU0h3MzBaV2xpUmVMN2gwbzRHSk5tYzJq?= =?utf-8?B?dlkwNGJ3TFNEYVBVeXZwdVNuV0o5b3hZQ3JzSWhKRkR6MDZaaUpkNjJhQ1Jk?= =?utf-8?B?T2p1ZGFmRFE0QU9RVmRvN1I3VnFyNVpGMDFG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zBKTlM4ZVRnbjBuakpmMDdadkNGWXBRTVZQNXYv?= =?utf-8?B?dTNkaHJqTndueitXVktTTVk4WTROTm5RWVRwSWRFQ2Q2WlZJdUtXRHVWcU0y?= =?utf-8?B?ajYxTllKbmVrbS9sVTRLbXBMd3VVb1NhcCtWMXBzNDJRMTJyWjFWbHIrVWxP?= =?utf-8?B?SENlSlY4WUZES2FiNGJTYXFrUUtkS3dmaUZsNFdyNlp0bXZTeHYwSEhneWFm?= =?utf-8?B?cG5KUE5tSitkTUpMQ2NETXF2T2xHakxFWDlZNWlUM0Jka1hUZTJPNGRQaDQw?= =?utf-8?Q?lRn/QPLii6/QD7RDtWOLF2Ex04qh3FgKDakHQpA?=
x-microsoft-antispam-prvs: <SG2PR01MB2743B3A92504CB948DAD403AD7750@SG2PR01MB2743.apcprd01.prod.exchangelabs.com>
x-forefront-prvs: 0962D394D2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39830400003)(376002)(346002)(136003)(396003)(189003)(199004)(86362001)(446003)(4326008)(6116002)(66066001)(486006)(229853002)(14444005)(68736007)(2616005)(256004)(36756003)(71190400001)(11346002)(3846002)(83716004)(105586002)(8936002)(106356001)(476003)(25786009)(71200400001)(186003)(6486002)(6436002)(8676002)(5660300002)(236005)(97736004)(81166006)(2906002)(33656002)(508600001)(81156014)(54896002)(53936002)(6246003)(55236004)(6506007)(99286004)(14454004)(76176011)(7736002)(82746002)(26005)(102836004)(316002)(6512007)(93886005); DIR:OUT; SFP:1101; SCL:1; SRVR:SG2PR01MB2743; H:SG2PR01MB2776.apcprd01.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ribose.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: ncCDpAfmWhBUFPQJd3jq764k1aUI3+jW0+BdWS64rN9r3dfqYzpPKfBwtkla4m6dc41URwyTv4bJzXeCWkKGR0FUQMUSHqpel9X/ZhQPoTcavUHZoX1PWXcXZ/0BpJz2RWaVeCvnTIRJR+np8nTIBHrAtgSIr8aCE8Z/PSR9H3exVxScqaIHv/J1zvgtndkNvZITnXd+tKfkG1WsQaHVnydkFvx9mrDc/aQHS0pmKTZr57uFY7x3yzAHH9haJBA0x4G/br5UYrvjm8wWO0hmWx0ogV0m/9mY91JXiXK00tyAG8dg6lkiKfp6sNnGgbUuF8263aHdi+glJdf3uEcazKYybl1jv9qSwfni4O+U1rG3T0ajyqw0Lt0FrheV6Kl+9TAz/TqL2+FZ5Ibs01GH2YUEt0cfJoFQw+aJo+Ze6zs=
Content-Type: multipart/alternative; boundary="_000_2C8450F076D24EE7934C546C5131FF1Fribosecom_"
MIME-Version: 1.0
X-OriginatorOrg: ribose.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5453d80b-7faf-4d73-15bd-08d69d148806
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2019 00:34:42.4759 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d98a04ff-ef98-489b-b33c-13c23a2e091a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR01MB2743
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/S6_qiA53CrXmUTKFrCNvtL91mC0>
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: Thu, 28 Feb 2019 00:34:50 -0000

And this is a very reasonable approach. I support Jon’s take on this.

Thus, saying (e.g.) that the range MUST be between 1K and 16K is a bad idea; we even know now that 256K has in some cases an efficiency advantage. You can say, MUST support 1K to 16K, SHOULD support up to 256K and MAY support larger sizes. There can also be a couple of paragraphs to explain that there are good reasons neither to be very small nor very large.

_____________________________________

Ronald Tse
Ribose Inc.

+=========================================================+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+=========================================================+

On Feb 28, 2019, at 8:03 AM, Jon Callas <joncallas=40icloud.com@dmarc.ietf.org<mailto:joncallas=40icloud.com@dmarc.ietf.org>> wrote: