Re: [IPsec] I-D Action: draft-ietf-ipsecme-chacha20-poly1305-09.txt

Yoav Nir <ynir.ietf@gmail.com> Sun, 14 June 2015 11:11 UTC

Return-Path: <ynir.ietf@gmail.com>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4622A1B2CBA for <ipsec@ietfa.amsl.com>; Sun, 14 Jun 2015 04:11:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 ox3Q_oDZ3HrG for <ipsec@ietfa.amsl.com>; Sun, 14 Jun 2015 04:11:29 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71B541B2CB9 for <ipsec@ietf.org>; Sun, 14 Jun 2015 04:11:29 -0700 (PDT)
Received: by wiga1 with SMTP id a1so51459496wig.0 for <ipsec@ietf.org>; Sun, 14 Jun 2015 04:11:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=x+kTRkjqFlKCdy42e0nnKWiPDOzNlUa50vLTGW55k+g=; b=FHdM87n9eLCKsTFt4acYXvzCzNx7x+fqzUr4dZJGPzNZqJNfDlsy0RYrTDM6PLRGXr 2qtp53z8QQrjz452L3om4pn9wBxWyQ0TEtTiLrqWLWJmZH8bB/lvFWuD3LerukgoyG6V X20CwufQ2fRAdBZKbzm0E33j/dkgzQqFzkwI8Bzc6wRpYsHhdi1xqFeZSBPDgLLXoikm TW/Ply+YYlD/CuFR8iCM+Vi2a0TlrdpxEjcnJobviZlcO1WpthNvr4FHEcJN7bRB/xRq Au/Vcp/8uMlnNIVu0v2e/sO51vL7YHPqRTVXvu4oLUjakhmeibcFYe1Xm9y5MAH1yWx3 /vVQ==
X-Received: by 10.194.23.106 with SMTP id l10mr3731479wjf.1.1434280288173; Sun, 14 Jun 2015 04:11:28 -0700 (PDT)
Received: from [172.24.251.11] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id n8sm10952969wiy.19.2015.06.14.04.11.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Jun 2015 04:11:25 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <557D2F25.8060607@gmail.com>
Date: Sun, 14 Jun 2015 14:11:21 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <DB528DE4-A84F-4D76-8C51-A3C45E928984@gmail.com>
References: <20150614064621.15901.47260.idtracker@ietfa.amsl.com> <557D2F25.8060607@gmail.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipsec/g6VFEaye08yBICsigFz0Pu9Zeeo>
Cc: ipsec@ietf.org
Subject: Re: [IPsec] I-D Action: draft-ietf-ipsecme-chacha20-poly1305-09.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jun 2015 11:11:31 -0000

How about:

OLD:
   The Pad Length field need not exceed 4 octets. However, RFC 4303 and this specification do not 
   prohibit using greater pad lengths.

NEW:
   The length of the Padding field need not exceed 4 octets. However, neither RFC 4303 nor this 
   specification require using the minimal padding length.

Yoav

> On Jun 14, 2015, at 10:37 AM, Yaron Sheffer <yaronf.ietf@gmail.com> wrote:
> 
> Quick nit: the sentence "The Pad Length field need not exceed 4 octets" is a bit confusing, because the Pad Length field is obviously a constant 2 octets. I would suggest "The Padding field's length (and the value of the Pad Length field) need not exceed 4 octets."
> 
> Thanks,
> 	Yaron
> 
> On 06/14/2015 09:46 AM, internet-drafts@ietf.org wrote:
>> 
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>>  This draft is a work item of the IP Security Maintenance and Extensions Working Group of the IETF.
>> 
>>         Title           : ChaCha20, Poly1305 and their use in IKE & IPsec
>>         Author          : Yoav Nir
>> 	Filename        : draft-ietf-ipsecme-chacha20-poly1305-09.txt
>> 	Pages           : 12
>> 	Date            : 2015-06-13
>> 
>> Abstract:
>>    This document describes the use of the ChaCha20 stream cipher along
>>    with the Poly1305 authenticator, combined into an AEAD algorithm for
>>    the Internet Key Exchange protocol (IKEv2) and for IPsec.
>> 
>> 
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-ipsecme-chacha20-poly1305/
>> 
>> There's also a htmlized version available at:
>> https://tools.ietf.org/html/draft-ietf-ipsecme-chacha20-poly1305-09
>> 
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-ietf-ipsecme-chacha20-poly1305-09
>> 
>> 
>> Please note that it may take a couple of minutes from the time of submission
>> until the htmlized version and diff are available at tools.ietf.org.
>> 
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>> 
>> _______________________________________________
>> IPsec mailing list
>> IPsec@ietf.org
>> https://www.ietf.org/mailman/listinfo/ipsec
>> 
> 
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec