Re: [TLS] [Cfrg] Closing out tls1.3 "Limits on key usage" PRs (#765/#769).

Yoav Nir <ynir.ietf@gmail.com> Fri, 03 March 2017 09:22 UTC

Return-Path: <ynir.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9097912942F; Fri, 3 Mar 2017 01:22:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 i41Kgq-7D_p4; Fri, 3 Mar 2017 01:22:12 -0800 (PST)
Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 6F7DA1293F4; Fri, 3 Mar 2017 01:22:12 -0800 (PST)
Received: by mail-wm0-x241.google.com with SMTP id m70so2131184wma.1; Fri, 03 Mar 2017 01:22:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=wEWtpphl9RZzzGtA1kNj91g6/6XNiY0y+GjbawoKf/I=; b=mYwqRfErUJ2ceUdPSJo6dt/yBYDQw7/eWlQAPFMtuG++CExL2eSZbDi12jvISDZOsR MBasr4wNIFfGVbVswigQYqaBmhRioXXEXzn4ViCl5aLFau74zzx1F+GU/4MjmLq634MB AbBRXt21iHCI2ms7azBw6Hmawj5mT/cipCF6HuO//FVcsPrRDlZVf5J9PqJfh939NfQQ GvcMJZYkaEeZGOrG536wXSMg7vUuFpwEr9rlXJrMgrQ+tjclUbc5NDYMvR+atQ9z2Qua S6mJTJDemtRi41zblR8l0mXtEby9W6TuAX/YoyFniOttJiQX/+Zeogf1ruHtugVzd9Rh OEmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=wEWtpphl9RZzzGtA1kNj91g6/6XNiY0y+GjbawoKf/I=; b=OOWsFkkkau1+2S+sAKngeixrBlFZb9WLC1MvPQoKpOF7wBmN/C+WUDuAhqGbrdYxb9 d6Ybx4s+KXPgw7DLvOmWP/AaUczacuXm/Gy0/VKXY9lyWGPITIgBpCchoFmJUcqtz34M 4yqSKadcu7F25tmqre3LFKw9CUlwB3sy6xgOvdvqVdrgnzZ4Tqf35gasNGbZKxT2jYZY PBq0vfEP13u9Gfe4kyboUMqbECdcy+2nc14lkF3+mcma3i+HpWCrvkaIIFaL31GSFCr0 ynh7Hk6GSQYOPXGA1ciF4DZeSgCRWAMwJmCtHBSk4433rf8Pv8aNeocJR3hPdQifCS2F /FKA==
X-Gm-Message-State: AMke39lL1MbVY/Jsjxvnd/WxAIyXGzoaQrx4WVGtEEzVW99w34o7lqbPOrxXqIFo2VIZBg==
X-Received: by 10.28.198.132 with SMTP id w126mr1749078wmf.69.1488532930820; Fri, 03 Mar 2017 01:22:10 -0800 (PST)
Received: from [192.168.1.18] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id r195sm2250748wme.25.2017.03.03.01.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2017 01:22:10 -0800 (PST)
From: Yoav Nir <ynir.ietf@gmail.com>
Message-Id: <3F458D44-2232-498C-944F-C3F72A53291A@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_E2B79941-1801-4DDA-9E97-E175F83AF075"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Date: Fri, 3 Mar 2017 11:22:08 +0200
In-Reply-To: <cd2835c7-d093-60b0-df9c-998d77a6a26e@brainhub.org>
To: Andrey Jivsov <crypto@brainhub.org>
References: <352D31A3-5A8B-4790-9473-195C256DEEC8@sn3rd.com> <CY4PR09MB1464243342F19FCBE48C37E7F3550@CY4PR09MB1464.namprd09.prod.outlook.com> <26137F3B-5655-44CA-877E-7168CE02DBF1@azet.org> <D4DC341D.311E1%qdang@nist.gov> <2572E3FC-0139-4946-A12D-9D9509C402F1@azet.org> <CAFewVt5gCGrGrJRMQFiqXP_zeNONS45VhmJWYiyXyTkKt6ezPw@mail.gmail.com> <cd2835c7-d093-60b0-df9c-998d77a6a26e@brainhub.org>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/cd6T8Cm4Ty0_13IdYdigxVl01dk>
Cc: cfrg@ietf.org, "tls@ietf.org list" <tls@ietf.org>
Subject: Re: [TLS] [Cfrg] Closing out tls1.3 "Limits on key usage" PRs (#765/#769).
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 03 Mar 2017 09:22:13 -0000

Hi

As an implementer I have no problem counting records, bytes or blocks (OK, the last you usually don’t count directly but (n+15)/16 is not beyond the capabilities of any implementer)

So IMO whichever gives the tightest bound should be selected, and that means blocks.

Exercising the rekey code is up to developers, not document writers.

Yoav