Re: [TLS] draft-jay-tls-omit-aead-explicit-nonce-extension
Jayaraghavendran k <jayaraghavendran.k@huawei.com> Mon, 26 October 2015 13:23 UTC
Return-Path: <jayaraghavendran.k@huawei.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE3911B3E17 for <tls@ietfa.amsl.com>; Mon, 26 Oct 2015 06:23:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 TGpYBS1dWQZ6 for <tls@ietfa.amsl.com>; Mon, 26 Oct 2015 06:23:34 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF8C91B3E16 for <tls@ietf.org>; Mon, 26 Oct 2015 06:23:33 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CDA81381; Mon, 26 Oct 2015 13:23:31 +0000 (GMT)
Received: from SZXEMI401-HUB.china.huawei.com (10.82.75.33) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 26 Oct 2015 13:23:28 +0000
Received: from SZXEMI501-MBX.china.huawei.com ([169.254.1.73]) by SZXEMI401-HUB.china.huawei.com ([10.82.75.33]) with mapi id 14.03.0235.001; Mon, 26 Oct 2015 21:23:22 +0800
From: Jayaraghavendran k <jayaraghavendran.k@huawei.com>
To: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>, "draft-jay-tls-omit-aead-explicit-nonce-extension@tools.ietf.org" <draft-jay-tls-omit-aead-explicit-nonce-extension@tools.ietf.org>
Thread-Topic: [TLS] draft-jay-tls-omit-aead-explicit-nonce-extension
Thread-Index: AQHRDc4xC8umvb5us06ZJNAT+adNe559uDng
Date: Mon, 26 Oct 2015 13:23:21 +0000
Message-ID: <8D925D4C0B78EE41857D407022ECD163BFEE877C@SZXEMI501-MBX.china.huawei.com>
References: <CABcZeBOCuuh=vQ2H-PA3bKFMSTp1duAqhj_thaN0VoCv4NDfEA@mail.gmail.com>
In-Reply-To: <CABcZeBOCuuh=vQ2H-PA3bKFMSTp1duAqhj_thaN0VoCv4NDfEA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.213.218]
Content-Type: multipart/alternative; boundary="_000_8D925D4C0B78EE41857D407022ECD163BFEE877CSZXEMI501MBXchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/8IDUd0tiUebU35dNXpFK7rTSxIM>
X-Mailman-Approved-At: Sun, 01 Nov 2015 16:48:46 -0800
Subject: Re: [TLS] draft-jay-tls-omit-aead-explicit-nonce-extension
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2015 13:23:37 -0000
Hi Eric, Thanks for your response. 1. There is already no requirement that you have an explicit nonce. RFC5246 merely requires that you specify the length of the explicit nonce, but that length can be 0, as it is in the ChaCha/Poly drafts. So, rather than build an extension it would be better to just define a new cipher suite if you think this is important. [Jay]: The extension idea was mainly for the already defined ciphers in RFC 6655 (for AES_CCM usage in TLS) & RFC 5288 (for AES_GCM usage in TLS). Both these RFCs state that an explicit nonce of 8 bytes MUST be carried in each record. So, in these cases to avoid the overhead, the options as I understand are defining a new extension or a new cipher suite (which suggests the new explicit nonce generation mechanism and makes the record iv length as 0). This new extension is more like a framework for negotiating the type of explicit nonce generation mechanisms. If a particular way of generating the explicit nonce is found to be exploitable in future, a new mechanism can be defined and negotiated through the extension. Defining a new cipher for each new mechanism of explicit nonce generation may increase the number of ciphers that the client has to carry in it’s client hello by a good amount (considering, it needs to carry old ciphers also for backward compatibility with servers not supporting new ciphers). 2. TLS 1.3 already omits the explicit nonce entirely. [Jay]: My primary goal is for DTLS 1.2 which is used with CoAP in various IoT Scenarios. Usage of DTLS 1.2 with CoAP has already started in many products I believe and DTLS 1.3 may take some time and will not be immediately adapted by products already released. Requesting your suggestions in the above context. Thanks Again. Best Regards, Jay *************************************************************************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! *************************************************************************************** From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Eric Rescorla Sent: 24 October 2015 01:35 To: tls@ietf.org; draft-jay-tls-omit-aead-explicit-nonce-extension@tools.ietf.org Subject: [TLS] draft-jay-tls-omit-aead-explicit-nonce-extension I took a quick look at this draft and IMO it is unnecessary, for two reasons: 1. There is already no requirement that you have an explicit nonce. RFC5246 merely requires that you specify the length of the explicit nonce, but that length can be 0, as it is in the ChaCha/Poly drafts. So, rather than build an extension it would be better to just define a new cipher suite if you think this is important. 2. TLS 1.3 already omits the explicit nonce entirely. -Ekr
- [TLS] draft-jay-tls-omit-aead-explicit-nonce-exte… Eric Rescorla
- Re: [TLS] draft-jay-tls-omit-aead-explicit-nonce-… Jayaraghavendran k
- Re: [TLS] draft-jay-tls-omit-aead-explicit-nonce-… Jayaraghavendran k
- Re: [TLS] draft-jay-tls-omit-aead-explicit-nonce-… Eric Rescorla