From exim@www1.ietf.org  Mon May  3 11:42:42 2004
Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08743
	for <cfrg-archive@odin.ietf.org>; Mon, 3 May 2004 11:42:42 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfXz-0001GJ-IW
	for cfrg-archive@odin.ietf.org; Mon, 03 May 2004 11:39:59 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i43FdxfS004851
	for cfrg-archive@odin.ietf.org; Mon, 3 May 2004 11:39:59 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfTn-0008Qp-HM
	for cfrg-web-archive@optimus.ietf.org; Mon, 03 May 2004 11:35:39 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08379
	for <cfrg-web-archive@ietf.org>; Mon, 3 May 2004 11:35:36 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKfTm-0001LT-Fr
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:35:38 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKfSo-0001I3-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:34:39 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKfRq-0001Eu-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:33:38 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfOK-0007AC-Ux; Mon, 03 May 2004 11:30:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKf3i-00061T-AO
	for cfrg@optimus.ietf.org; Mon, 03 May 2004 11:08:42 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07161
	for <cfrg@ietf.org>; Mon, 3 May 2004 11:08:37 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKf3f-0007OI-HZ
	for cfrg@ietf.org; Mon, 03 May 2004 11:08:39 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKf2s-0007L2-00
	for cfrg@ietf.org; Mon, 03 May 2004 11:07:51 -0400
Received: from p-mail2.rd.francetelecom.com ([195.101.245.16])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKf1w-0007Ik-00
	for cfrg@ietf.org; Mon, 03 May 2004 11:06:52 -0400
Received: from parmhs4.rd.francetelecom.fr ([10.193.117.63]) by parsmtp1.rd.francetelecom.com with Microsoft SMTPSVC(6.0.3790.0);
	 Mon, 3 May 2004 17:06:44 +0200
Received: from rd.francetelecom.fr ([10.193.167.74]) by parmhs4.rd.francetelecom.fr with Microsoft SMTPSVC(5.0.2195.6747);
	 Mon, 3 May 2004 17:06:44 +0200
Message-ID: <40966075.8030702@rd.francetelecom.fr>
Date: Mon, 03 May 2004 17:08:37 +0200
From: Florent Bersani <florent.bersani@rd.francetelecom.fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cfrg@ietf.org
Content-Type: text/plain; charset=windows-1252; format=flowed
X-OriginalArrivalTime: 03 May 2004 15:06:44.0116 (UTC) FILETIME=[3F228D40:01C43120]
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id LAA07162
Subject: [Cfrg] Providing guidance on the choice of symmetric key length?
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: quoted-printable
Content-Transfer-Encoding: quoted-printable

Hi,

Sorry to bother you with a another somewhat naive question I stumbled=20
across while trying to work on an EAP method (EAP is RFC 2284 revised by=20
2284bis)

In short, when using a symmetric key cryptographic primitive (namely a=20
block or a stream cipher), you may have to choose (among other=20
parameters) the key size. This is indeed the case with say AES, since=20
according to FIPS 197, you may use a 128, 192 or 256 bit keys. The=20
question is: what key length should be chosen (arguably, since this=20
choice may depend on the target application in which the primitive has=20
to be used, let's say for an authentication protocol used over the=20
Internet).

This seems to be quite a dumb question, since the answer is IMHO=20
folklore: 128 bits is OK for most (all?) applications.

My point is that I surprisingly did not find any simple and clear=20
reference to which (non-expert) people working at IETF could be pointed=20
to, regarding the choice of symmetric key length.

Any feedback would be most welcome.

Many thanks in advance,
Florent, who perhaps has a very stringent definition of simple and clear=20
reference ;-) and agrees that his question is not a very good one :-(=20
Just wanted to make sure

Indeed, the references I consulted before daring to turn to the CFRG=20
include:

    * "Handbook of Applied Cryptography" by Menezes et al.: chapter 1 on
      (=A71.13.4) and chapter 7 on block ciphers (=A77.2.1 (iii), 7.2.3 a=
nd
      =A77.8)
    * "Applied Cryptography" by Bruce Schneier, part II chapter 7 (key
      length)
    * "Minimal Key Length for Symmetric Ciphers to Provide Adequate
      Commercial Security. A Report by an Ad Hoc Group of Cryptographers
      and Computer Scientists", M. Blaze, W. Diffie et al., Jan. 1996.
    * "Selecting cryptographic key size" by Lenstra and Verheul, 2001,
      http://citeseer.ist.psu.edu/287428.html
    * "A Cost-Based Security Analysis of Symmetric and Asymmetric Key
      Lengths", RSA Laboratories Bulletin 13, April 2000 (Revised
      November 2001),
      http://www.rsasecurity.com/rsalabs/bulletins/bulletin13.html
    * "Determining strengths for public keys used for exchanging
      symmetric keys", H. Orman and P. Hoffman, RFC 3766
    * "The AES-CBC Cipher Algorithm and Its Use with IPsec", S. Frankel
      et al., RFC 3602

Generally, these references rather aim at studying public key length=20
compared to symmetric key length and usually consider my question as a=20
simple side problem, e.g. in RFC 3766 "While it is fairly easy to=20
express the system strength requirements in terms of a symmetric key=20
length".

I agree that it is not hard to become aware that there seems to be=20
consensus that a 128 bit key with a (good) block cipher is OK (e.g. in=20
RFC 3766 "In this section, for illustrative purposes, we will implicitly=20
assume that the system security requirement is 112 bits; this doesn=92t=20
mean that 112 bits is recommended. In fact, 112 bits is arguably too=20
strong for any practical purpose. It is used for illustration simply=20
because that is the upper bound on the strength of TripleDES") and that=20
some reference do provide explicit estimates for symmetric key size choic=
e.

The naive question that however logically puzzles the curious (and=20
not-expert in cryptography) protocol developer is why then do we have=20
the choice to use a larger, say 256 bit, key?

Possible answers I thought of include:

    * It is a good idea to be conservative in cryptography and to allow
      for larger key sizes (but then why shouldn't I be conservative
      myself and not use AES-256?)
    * You may use larger key size but performance will degrade (a quite
      complete performance report to back up/infirm this claim seems to
      be the NESSIE deliverable 21 e.g. table 31,
      https://www.cosic.esat.kuleuven.ac.be/nessie/deliverables/D21-v2.pd=
f).
      However, depending on the application, performance may not be that
      much of an issue (e.g. an authentication protocol probably does
      not have the same performance requirements for its primitive as a
      "bulk data encryption protocol" - like ESP) and degradation may be
      very little (see e.g.
      http://www.ietf.org/proceedings/01dec/slides/ipsec-11.pdf).
    * You may use larger key size but you will have export regulations
      problems (for example, in France, 128 bit is a threshold, see
      http://www.ssi.gouv.fr/fr/reglementation/regl_crypto.html)

(An additional reason I was indicated for having larger key size could=20
be when the key has an "entropy" that is not equal to its length but=20
this seems IMHO a rather deviant and bad reason to use a 256 bit key=20
block cipher with 256 bits that are chosen at random from say a 2**128=20
space. I'd prefer to have the "bad" 256 key bits pre-processed and then=20
used in a 128 bit block cipher)

After reading references like draft-ietf-ipsec-ciph-camellia-01.txt or=20
RFC 3602, security considerations section:
"Implementations are encouraged to use the largest key sizes they can=20
when taking into account performance considerations for their particular=20
hardware and software configuration. Note that encryption necessarily=20
impacts both sides of a secure channel, so such consideration must take=20
into account not only the client side, but the server as well. However,=20
a key size of 128 bits is considered secure for the foreseeable future",=20
I still find it hard for a protocol developer to choose ;-)

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Mon May  3 12:20:56 2004
Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA10680
	for <cfrg-archive@odin.ietf.org>; Mon, 3 May 2004 12:20:55 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfy3-000768-V3
	for cfrg-archive@odin.ietf.org; Mon, 03 May 2004 12:06:56 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i43G6tZh027284
	for cfrg-archive@odin.ietf.org; Mon, 3 May 2004 12:06:55 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfpG-000597-0q
	for cfrg-web-archive@optimus.ietf.org; Mon, 03 May 2004 11:57:50 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09559
	for <cfrg-web-archive@ietf.org>; Mon, 3 May 2004 11:57:46 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKfpE-0002nV-PV
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:57:48 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKfoJ-0002jx-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:56:52 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKfnw-0002gf-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 11:56:28 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfje-0003j6-5r; Mon, 03 May 2004 11:52:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKfcU-00025S-BH
	for cfrg@optimus.ietf.org; Mon, 03 May 2004 11:44:38 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08887
	for <cfrg@ietf.org>; Mon, 3 May 2004 11:44:35 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKfcT-00022I-6x
	for cfrg@ietf.org; Mon, 03 May 2004 11:44:37 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKfbU-0001wl-00
	for cfrg@ietf.org; Mon, 03 May 2004 11:43:37 -0400
Received: from mail-dark.research.att.com ([192.20.225.112])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKfaW-0001p9-00
	for cfrg@ietf.org; Mon, 03 May 2004 11:42:36 -0400
Received: from mail-green.research.att.com (mail-green.research.att.com [135.207.30.103])
	by mail-dark.research.att.com (Postfix) with ESMTP id 854E2E80EE;
	Mon,  3 May 2004 11:42:03 -0400 (EDT)
Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101])
	by mail-green.research.att.com (Postfix) with ESMTP id 7E22AF3A90;
	Mon,  3 May 2004 11:42:03 -0400 (EDT)
Received: from berkshire.research.att.com (guard.research.att.com [135.207.1.20])
	by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id i43Fg2Z20448;
	Mon, 3 May 2004 11:42:02 -0400 (EDT)
Received: from research.att.com (localhost [127.0.0.1])
	by berkshire.research.att.com (Postfix) with ESMTP
	id 465D07B46; Mon,  3 May 2004 11:41:58 -0400 (EDT)
X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4
From: "Steven M. Bellovin" <smb@research.att.com>
To: Florent Bersani <florent.bersani@rd.francetelecom.fr>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Providing guidance on the choice of symmetric key length? 
In-Reply-To: Your message of "Mon, 03 May 2004 17:08:37 +0200."
             <40966075.8030702@rd.francetelecom.fr> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Mon, 03 May 2004 11:41:58 -0400
Message-Id: <20040503154158.465D07B46@berkshire.research.att.com>
Content-Transfer-Encoding: quoted-printable
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: quoted-printable
Content-Transfer-Encoding: quoted-printable

What's your threat model?  Who is your enemy?

For what it's worth, the NSA has said that 128-bit AES is suitable for =

protecting traffic classified up to the "SECRET" level, while 192- and =

256-bit AES is suitable for "TOP SECRET" traffic.  (See
http://www.nstissc.gov/Assets/pdf/fact%20sheet.pdf for details.)

In those ranges, the protocol and the implementation quality are likely =

to be far more an issue than the difference in key size.

		--Steve Bellovin, http://www.research.att.com/~smb



_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Mon May  3 13:28:35 2004
Received: from optimus.ietf.org (iesg.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15153
	for <cfrg-archive@odin.ietf.org>; Mon, 3 May 2004 13:28:35 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKh12-0000hx-D1
	for cfrg-archive@odin.ietf.org; Mon, 03 May 2004 13:14:04 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i43HE4uO002721
	for cfrg-archive@odin.ietf.org; Mon, 3 May 2004 13:14:04 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKgs4-0006a9-II
	for cfrg-web-archive@optimus.ietf.org; Mon, 03 May 2004 13:04:48 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14046
	for <cfrg-web-archive@ietf.org>; Mon, 3 May 2004 13:04:44 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKgs2-0001im-RL
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 13:04:46 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKgr5-0001dl-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 13:03:50 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKgql-0001ZE-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 13:03:27 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKgge-0003ov-Iq; Mon, 03 May 2004 12:53:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKgYx-0001E9-Hp
	for cfrg@optimus.ietf.org; Mon, 03 May 2004 12:45:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12524
	for <cfrg@ietf.org>; Mon, 3 May 2004 12:44:59 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKgYv-0006zL-SF
	for cfrg@ietf.org; Mon, 03 May 2004 12:45:01 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKgXE-0006gv-00
	for cfrg@ietf.org; Mon, 03 May 2004 12:43:21 -0400
Received: from ns.ca.certicom.com
	([66.48.18.197] helo=mail.ca.certicom.com ident=postfix)
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKgVb-0006PS-00
	for cfrg@ietf.org; Mon, 03 May 2004 12:41:35 -0400
Received: from spamfilter.certicom.com (storm [127.0.0.1])
	by mail.ca.certicom.com (Postfix) with ESMTP
	id 7E6C7100CF; Mon,  3 May 2004 12:41:35 -0400 (EDT)
Received: from mail.ca.certicom.com ([127.0.0.1])
 by spamfilter.certicom.com (storm [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 16222-44; Mon,  3 May 2004 12:41:27 -0400 (EDT)
Received: from certicom1.certicom.com (domino1.certicom.com [10.0.1.24])
	by mail.ca.certicom.com (Postfix) with ESMTP
	id 36F6210191; Mon,  3 May 2004 12:41:26 -0400 (EDT)
In-Reply-To: <40966075.8030702@rd.francetelecom.fr>
To: Florent Bersani <florent.bersani@rd.francetelecom.fr>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Providing guidance on the choice of symmetric key length?
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003
Message-ID: <OF0090CCC1.081AAB9C-ON85256E89.00560D21-85256E89.005BB134@certicom.com>
From: Daniel Brown <DBrown@certicom.com>
Date: Mon, 3 May 2004 12:35:14 -0400
X-MIMETrack: Serialize by Router on Certicom1/Certicom(Release 6.0.1|February 07, 2003) at
 05/03/2004 12:35:16 PM,
	Serialize complete at 05/03/2004 12:35:16 PM
Content-Type: multipart/alternative; boundary="=_alternative 005BB0E385256E89_="
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=HTML_MESSAGE autolearn=no 
	version=2.60

This is a multipart message in MIME format.
--=_alternative 005BB0E385256E89_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Florent,

Although it may not answer your question fully, another useful document=20
that speaks about key sizes is NIST draft Special Publication 800-57, Part =

1, (see http://csrc.nist.gov/CryptoToolkit/kms/guideline-1-Jan03.pdf).=20

Specifically, Table 9, pages 98-99, states what symmetric key sizes NIST=20
believes to be appropriate for data that needs protection continuing in=20
the future.  It rates AES 128, 192 and 256 as appropriate for data needing =

protection beyond 2035, but it does not distinguish any further between=20
these 3 key sizes.  (Arguably, it would be too speculative to forecast any =

farther into the future.)  It does suggest that TDES is only appropriate=20
for data needing protection up to 2035 but not farther. (I've heard that=20
2035 will be corrected to 2030.)

Thanks,

        Dan

PS For what little it's worth, although I agree in principle that one=20
should use the highest security feasible, I'd also agree that 128-bit=20
security is good enough for nearly everybody.  Reasons for 192 or 256-bit=20
security instead of 128-bit include protecting extremely sensitive=20
information, long-term protection (40, 50, 60+ years from today), worries=20
that forecasters have underestimated computing advances in the next 25=20
years by a large factor (about 2^64 or more), a willingness pay for the=20
extra cost of larger key sizes today as a kind of insurance that may or=20
may not pay out.




cfrg-admin@ietf.org wrote on 05/03/2004 11:08:37 AM:

> Hi,
>=20
> Sorry to bother you with a another somewhat naive question I stumbled=20
> across while trying to work on an EAP method (EAP is RFC 2284 revised by =


> 2284bis)
>=20
> In short, when using a symmetric key cryptographic primitive (namely a=20
> block or a stream cipher), you may have to choose (among other=20
> parameters) the key size. This is indeed the case with say AES, since=20
> according to FIPS 197, you may use a 128, 192 or 256 bit keys. The=20
> question is: what key length should be chosen (arguably, since this=20
> choice may depend on the target application in which the primitive has=20
> to be used, let's say for an authentication protocol used over the=20
> Internet).
>=20
> This seems to be quite a dumb question, since the answer is IMHO=20
> folklore: 128 bits is OK for most (all?) applications.
>=20
> My point is that I surprisingly did not find any simple and clear=20
> reference to which (non-expert) people working at IETF could be pointed=20
> to, regarding the choice of symmetric key length.
>=20
> Any feedback would be most welcome.
>=20
> Many thanks in advance,
> Florent, who perhaps has a very stringent definition of simple and clear =


> reference ;-) and agrees that his question is not a very good one :-(=20
> Just wanted to make sure
>=20
> Indeed, the references I consulted before daring to turn to the CFRG=20
> include:
>=20
>     * "Handbook of Applied Cryptography" by Menezes et al.: chapter 1 on
>       (=A71.13.4) and chapter 7 on block ciphers (=A77.2.1 (iii), 7.2.3 a=
nd
>       =A77.8)
>     * "Applied Cryptography" by Bruce Schneier, part II chapter 7 (key
>       length)
>     * "Minimal Key Length for Symmetric Ciphers to Provide Adequate
>       Commercial Security. A Report by an Ad Hoc Group of Cryptographers
>       and Computer Scientists", M. Blaze, W. Diffie et al., Jan. 1996.
>     * "Selecting cryptographic key size" by Lenstra and Verheul, 2001,
>       http://citeseer.ist.psu.edu/287428.html
>     * "A Cost-Based Security Analysis of Symmetric and Asymmetric Key
>       Lengths", RSA Laboratories Bulletin 13, April 2000 (Revised
>       November 2001),
>       http://www.rsasecurity.com/rsalabs/bulletins/bulletin13.html
>     * "Determining strengths for public keys used for exchanging
>       symmetric keys", H. Orman and P. Hoffman, RFC 3766
>     * "The AES-CBC Cipher Algorithm and Its Use with IPsec", S. Frankel
>       et al., RFC 3602
>=20
> Generally, these references rather aim at studying public key length=20
> compared to symmetric key length and usually consider my question as a=20
> simple side problem, e.g. in RFC 3766 "While it is fairly easy to=20
> express the system strength requirements in terms of a symmetric key=20
> length".
>=20
> I agree that it is not hard to become aware that there seems to be=20
> consensus that a 128 bit key with a (good) block cipher is OK (e.g. in=20
> RFC 3766 "In this section, for illustrative purposes, we will implicitly =


> assume that the system security requirement is 112 bits; this doesn?t=20
> mean that 112 bits is recommended. In fact, 112 bits is arguably too=20
> strong for any practical purpose. It is used for illustration simply=20
> because that is the upper bound on the strength of TripleDES") and that=20
> some reference do provide explicit estimates for symmetric key size=20
choice.
>=20
> The naive question that however logically puzzles the curious (and=20
> not-expert in cryptography) protocol developer is why then do we have=20
> the choice to use a larger, say 256 bit, key?
>=20
> Possible answers I thought of include:
>=20
>     * It is a good idea to be conservative in cryptography and to allow
>       for larger key sizes (but then why shouldn't I be conservative
>       myself and not use AES-256?)
>     * You may use larger key size but performance will degrade (a quite
>       complete performance report to back up/infirm this claim seems to
>       be the NESSIE deliverable 21 e.g. table 31,
> https://www.cosic.esat.kuleuven.ac.be/nessie/deliverables/D21-v2.pdf).
>       However, depending on the application, performance may not be that
>       much of an issue (e.g. an authentication protocol probably does
>       not have the same performance requirements for its primitive as a
>       "bulk data encryption protocol" - like ESP) and degradation may be
>       very little (see e.g.
>       http://www.ietf.org/proceedings/01dec/slides/ipsec-11.pdf).
>     * You may use larger key size but you will have export regulations
>       problems (for example, in France, 128 bit is a threshold, see
>       http://www.ssi.gouv.fr/fr/reglementation/regl=5Fcrypto.html)
>=20
> (An additional reason I was indicated for having larger key size could=20
> be when the key has an "entropy" that is not equal to its length but=20
> this seems IMHO a rather deviant and bad reason to use a 256 bit key=20
> block cipher with 256 bits that are chosen at random from say a 2**128=20
> space. I'd prefer to have the "bad" 256 key bits pre-processed and then=20
> used in a 128 bit block cipher)
>=20
> After reading references like draft-ietf-ipsec-ciph-camellia-01.txt or=20
> RFC 3602, security considerations section:
> "Implementations are encouraged to use the largest key sizes they can=20
> when taking into account performance considerations for their particular =


> hardware and software configuration. Note that encryption necessarily=20
> impacts both sides of a secure channel, so such consideration must take=20
> into account not only the client side, but the server as well. However,=20
> a key size of 128 bits is considered secure for the foreseeable future", =


> I still find it hard for a protocol developer to choose ;-)
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> Cfrg mailing list
> Cfrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/cfrg

--=_alternative 005BB0E385256E89_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Florent,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Although it may not answer your ques=
tion
fully, another useful document that speaks about key sizes is NIST draft
Special Publication 800-57, Part 1, (see http://csrc.nist.gov/CryptoToolkit=
/kms/guideline-1-Jan03.pdf).
</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Specifically, Table 9, pages 98-99,
states what symmetric key sizes NIST believes to be appropriate for data
that needs protection continuing in the future. &nbsp;It rates AES 128,
192 and 256 as appropriate for data needing protection beyond 2035, but
it does not distinguish any further between these 3 key sizes. &nbsp;(Argua=
bly,
it would be too speculative to forecast any farther into the future.) &nbsp=
;It
does suggest that TDES is only appropriate for data needing protection
up to 2035 but not farther. (I've heard that 2035 will be corrected to
2030.)</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Thanks,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Dan</fon=
t>
<br>
<br><font size=3D2 face=3D"sans-serif">PS For what little it's worth, altho=
ugh
I agree in principle that one should use the highest security feasible,
I'd also agree that 128-bit security is good enough for nearly everybody.
&nbsp;Reasons for 192 or 256-bit security instead of 128-bit include protec=
ting
extremely sensitive information, long-term protection (40, 50, 60+ years
from today), worries that forecasters have underestimated computing advances
in the next 25 years by a large factor (about 2^64 or more), a willingness
pay for the extra cost of larger key sizes today as a kind of insurance
that may or may not pay out.</font>
<br>
<br>
<br>
<br>
<br><font size=3D2><tt>cfrg-admin@ietf.org wrote on 05/03/2004 11:08:37 AM:=
<br>
<br>
&gt; Hi,<br>
&gt; <br>
&gt; Sorry to bother you with a another somewhat naive question I stumbled
<br>
&gt; across while trying to work on an EAP method (EAP is RFC 2284 revised
by <br>
&gt; 2284bis)<br>
&gt; <br>
&gt; In short, when using a symmetric key cryptographic primitive (namely
a <br>
&gt; block or a stream cipher), you may have to choose (among other <br>
&gt; parameters) the key size. This is indeed the case with say AES, since
<br>
&gt; according to FIPS 197, you may use a 128, 192 or 256 bit keys. The
<br>
&gt; question is: what key length should be chosen (arguably, since this
<br>
&gt; choice may depend on the target application in which the primitive
has <br>
&gt; to be used, let's say for an authentication protocol used over the
<br>
&gt; Internet).<br>
&gt; <br>
&gt; This seems to be quite a dumb question, since the answer is IMHO <br>
&gt; folklore: 128 bits is OK for most (all?) applications.<br>
&gt; <br>
&gt; My point is that I surprisingly did not find any simple and clear
<br>
&gt; reference to which (non-expert) people working at IETF could be pointed
<br>
&gt; to, regarding the choice of symmetric key length.<br>
&gt; <br>
&gt; Any feedback would be most welcome.<br>
&gt; <br>
&gt; Many thanks in advance,<br>
&gt; Florent, who perhaps has a very stringent definition of simple and
clear <br>
&gt; reference ;-) and agrees that his question is not a very good one
:-( <br>
&gt; Just wanted to make sure<br>
&gt; <br>
&gt; Indeed, the references I consulted before daring to turn to the CFRG
<br>
&gt; include:<br>
&gt; <br>
&gt; &nbsp; &nbsp; * &quot;Handbook of Applied Cryptography&quot; by Menezes
et al.: chapter 1 on<br>
&gt; &nbsp; &nbsp; &nbsp; (=A71.13.4) and chapter 7 on block ciphers (=A77.=
2.1
(iii), 7.2.3 and<br>
&gt; &nbsp; &nbsp; &nbsp; =A77.8)<br>
&gt; &nbsp; &nbsp; * &quot;Applied Cryptography&quot; by Bruce Schneier,
part II chapter 7 (key<br>
&gt; &nbsp; &nbsp; &nbsp; length)<br>
&gt; &nbsp; &nbsp; * &quot;Minimal Key Length for Symmetric Ciphers to
Provide Adequate<br>
&gt; &nbsp; &nbsp; &nbsp; Commercial Security. A Report by an Ad Hoc Group
of Cryptographers<br>
&gt; &nbsp; &nbsp; &nbsp; and Computer Scientists&quot;, M. Blaze, W. Diffie
et al., Jan. 1996.<br>
&gt; &nbsp; &nbsp; * &quot;Selecting cryptographic key size&quot; by Lenstra
and Verheul, 2001,<br>
&gt; &nbsp; &nbsp; &nbsp; http://citeseer.ist.psu.edu/287428.html<br>
&gt; &nbsp; &nbsp; * &quot;A Cost-Based Security Analysis of Symmetric
and Asymmetric Key<br>
&gt; &nbsp; &nbsp; &nbsp; Lengths&quot;, RSA Laboratories Bulletin 13,
April 2000 (Revised<br>
&gt; &nbsp; &nbsp; &nbsp; November 2001),<br>
&gt; &nbsp; &nbsp; &nbsp; http://www.rsasecurity.com/rsalabs/bulletins/bull=
etin13.html<br>
&gt; &nbsp; &nbsp; * &quot;Determining strengths for public keys used for
exchanging<br>
&gt; &nbsp; &nbsp; &nbsp; symmetric keys&quot;, H. Orman and P. Hoffman,
RFC 3766<br>
&gt; &nbsp; &nbsp; * &quot;The AES-CBC Cipher Algorithm and Its Use with
IPsec&quot;, S. Frankel<br>
&gt; &nbsp; &nbsp; &nbsp; et al., RFC 3602<br>
&gt; <br>
&gt; Generally, these references rather aim at studying public key length
<br>
&gt; compared to symmetric key length and usually consider my question
as a <br>
&gt; simple side problem, e.g. in RFC 3766 &quot;While it is fairly easy
to <br>
&gt; express the system strength requirements in terms of a symmetric key
<br>
&gt; length&quot;.<br>
&gt; <br>
&gt; I agree that it is not hard to become aware that there seems to be
<br>
&gt; consensus that a 128 bit key with a (good) block cipher is OK (e.g.
in <br>
&gt; RFC 3766 &quot;In this section, for illustrative purposes, we will
implicitly <br>
&gt; assume that the system security requirement is 112 bits; this doesn&#8=
217;t
<br>
&gt; mean that 112 bits is recommended. In fact, 112 bits is arguably too
<br>
&gt; strong for any practical purpose. It is used for illustration simply
<br>
&gt; because that is the upper bound on the strength of TripleDES&quot;)
and that <br>
&gt; some reference do provide explicit estimates for symmetric key size
choice.<br>
&gt; <br>
&gt; The naive question that however logically puzzles the curious (and
<br>
&gt; not-expert in cryptography) protocol developer is why then do we have
<br>
&gt; the choice to use a larger, say 256 bit, key?<br>
&gt; <br>
&gt; Possible answers I thought of include:<br>
&gt; <br>
&gt; &nbsp; &nbsp; * It is a good idea to be conservative in cryptography
and to allow<br>
&gt; &nbsp; &nbsp; &nbsp; for larger key sizes (but then why shouldn't
I be conservative<br>
&gt; &nbsp; &nbsp; &nbsp; myself and not use AES-256?)<br>
&gt; &nbsp; &nbsp; * You may use larger key size but performance will degra=
de
(a quite<br>
&gt; &nbsp; &nbsp; &nbsp; complete performance report to back up/infirm
this claim seems to<br>
&gt; &nbsp; &nbsp; &nbsp; be the NESSIE deliverable 21 e.g. table 31,<br>
&gt; &nbsp; &nbsp; &nbsp; https://www.cosic.esat.kuleuven.ac.be/nessie/deli=
verables/D21-v2.pdf).<br>
&gt; &nbsp; &nbsp; &nbsp; However, depending on the application, performance
may not be that<br>
&gt; &nbsp; &nbsp; &nbsp; much of an issue (e.g. an authentication protocol
probably does<br>
&gt; &nbsp; &nbsp; &nbsp; not have the same performance requirements for
its primitive as a<br>
&gt; &nbsp; &nbsp; &nbsp; &quot;bulk data encryption protocol&quot; - like
ESP) and degradation may be<br>
&gt; &nbsp; &nbsp; &nbsp; very little (see e.g.<br>
&gt; &nbsp; &nbsp; &nbsp; http://www.ietf.org/proceedings/01dec/slides/ipse=
c-11.pdf).<br>
&gt; &nbsp; &nbsp; * You may use larger key size but you will have export
regulations<br>
&gt; &nbsp; &nbsp; &nbsp; problems (for example, in France, 128 bit is
a threshold, see<br>
&gt; &nbsp; &nbsp; &nbsp; http://www.ssi.gouv.fr/fr/reglementation/regl=5Fc=
rypto.html)<br>
&gt; <br>
&gt; (An additional reason I was indicated for having larger key size could
<br>
&gt; be when the key has an &quot;entropy&quot; that is not equal to its
length but <br>
&gt; this seems IMHO a rather deviant and bad reason to use a 256 bit key
<br>
&gt; block cipher with 256 bits that are chosen at random from say a 2**128
<br>
&gt; space. I'd prefer to have the &quot;bad&quot; 256 key bits pre-process=
ed
and then <br>
&gt; used in a 128 bit block cipher)<br>
&gt; <br>
&gt; After reading references like draft-ietf-ipsec-ciph-camellia-01.txt
or <br>
&gt; RFC 3602, security considerations section:<br>
&gt; &quot;Implementations are encouraged to use the largest key sizes
they can <br>
&gt; when taking into account performance considerations for their particul=
ar
<br>
&gt; hardware and software configuration. Note that encryption necessarily
<br>
&gt; impacts both sides of a secure channel, so such consideration must
take <br>
&gt; into account not only the client side, but the server as well. However,
<br>
&gt; a key size of 128 bits is considered secure for the foreseeable future=
&quot;,
<br>
&gt; I still find it hard for a protocol developer to choose ;-)<br>
&gt; <br>
&gt; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
&gt; Cfrg mailing list<br>
&gt; Cfrg@ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/cfrg<br>
</tt></font>
--=_alternative 005BB0E385256E89_=--

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Mon May  3 20:49:12 2004
Received: from optimus.ietf.org (www.iesg.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA14372
	for <cfrg-archive@odin.ietf.org>; Mon, 3 May 2004 20:49:12 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKo4I-0006Sq-In
	for cfrg-archive@odin.ietf.org; Mon, 03 May 2004 20:45:54 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i440jssf024848
	for cfrg-archive@odin.ietf.org; Mon, 3 May 2004 20:45:54 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKo1l-00067x-8C
	for cfrg-web-archive@optimus.ietf.org; Mon, 03 May 2004 20:43:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA13998
	for <cfrg-web-archive@ietf.org>; Mon, 3 May 2004 20:43:14 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKo1j-0007Y0-04
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 20:43:15 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKo0l-0007OJ-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 20:42:15 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKnzx-0007G5-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 20:41:25 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKnxd-000572-Dn; Mon, 03 May 2004 20:39:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKnuk-0003qp-1E
	for cfrg@optimus.ietf.org; Mon, 03 May 2004 20:36:02 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA13758
	for <cfrg@ietf.org>; Mon, 3 May 2004 20:35:59 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKnuh-0006a1-MO
	for cfrg@ietf.org; Mon, 03 May 2004 20:35:59 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKntm-0006TO-00
	for cfrg@ietf.org; Mon, 03 May 2004 20:35:03 -0400
Received: from mail.esmartstart.com ([66.119.143.50] helo=mail.radioburst.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKnsv-0006Fc-00
	for cfrg@ietf.org; Mon, 03 May 2004 20:34:09 -0400
Received: from localhost.localdomain (dav.rfburst.com [209.90.91.153])
	by mail.radioburst.com (8.12.8/8.12.8) with ESMTP id i440XSYv012712
	for <cfrg@ietf.org>; Mon, 3 May 2004 18:33:29 -0600
Received: from localhost.localdomain (tobermory [127.0.0.1])
	by localhost.localdomain (8.12.8/8.11.6) with ESMTP id i440X6HK032348
	for <cfrg@ietf.org>; Mon, 3 May 2004 18:33:20 -0600
Received: (from ho@localhost)
	by localhost.localdomain (8.12.8/8.12.8/Submit) id i440X0sT032344;
	Mon, 3 May 2004 18:33:00 -0600
Date: Mon, 3 May 2004 18:33:00 -0600
Message-Id: <200405040033.i440X0sT032344@localhost.localdomain>
From: "The Purple Streak, Hilarie Orman" <ho@alum.mit.edu>
To: cfrg@ietf.org
Subject: Re: [Cfrg] Providing guidance on the choice of symmetric key length?
X-esmartscan-MailScanner: Found to be clean
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60

Unless there is a fundamental change in the basis of computing (such as
quantum computing), a key size of 128 bits (that's 128 bits of entropy)
should last forever, based on a rough estimate of energy consumption.
Very few applications on the Internet today need that level of security.
112 bits is still good enough for all practical purposes.

You'd have to be really paranoid to protect against quantum computing ---
it's hardly even a glimmer on the horizon.  If you are worried, because
you've got data that MUST remain confidential for more than a human
lifetime, then use a 256-bit key.

I've seen many vendors boast that they use 256-bit keys for "maximum"
security.  Very impressive.  Now, what is the probability that they've
got some design flaw that renders all that security worthless?

Hilarie

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Mon May  3 23:25:57 2004
Received: from optimus.ietf.org (www.iesg.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA20163
	for <cfrg-archive@odin.ietf.org>; Mon, 3 May 2004 23:25:57 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKqYN-0001dq-6N
	for cfrg-archive@odin.ietf.org; Mon, 03 May 2004 23:25:07 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i443P7Gs006311
	for cfrg-archive@odin.ietf.org; Mon, 3 May 2004 23:25:07 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKqRs-0000Ky-1f
	for cfrg-web-archive@optimus.ietf.org; Mon, 03 May 2004 23:18:24 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA19578
	for <cfrg-web-archive@ietf.org>; Mon, 3 May 2004 23:18:21 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKqRq-0004dI-71
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 23:18:22 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKqQW-0004F2-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 23:17:01 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKqP0-0003yZ-00
	for cfrg-web-archive@ietf.org; Mon, 03 May 2004 23:15:26 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKqLk-0007Sp-8L; Mon, 03 May 2004 23:12:04 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BKqJn-00074X-Ck
	for cfrg@optimus.ietf.org; Mon, 03 May 2004 23:10:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18681
	for <cfrg@ietf.org>; Mon, 3 May 2004 23:09:58 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BKqJj-0002zE-Ct
	for cfrg@ietf.org; Mon, 03 May 2004 23:09:59 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BKqHI-0002ew-00
	for cfrg@ietf.org; Mon, 03 May 2004 23:07:30 -0400
Received: from mail-red.research.att.com ([192.20.225.110] helo=mail-white.research.att.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 1BKqEL-0002Iq-00
	for cfrg@ietf.org; Mon, 03 May 2004 23:04:25 -0400
Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103])
	by mail-white.research.att.com (Postfix) with ESMTP id 90975664040;
	Mon,  3 May 2004 23:03:56 -0400 (EDT)
Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101])
	by mail-green.research.att.com (Postfix) with ESMTP id 8138AF3A90;
	Mon,  3 May 2004 23:03:56 -0400 (EDT)
Received: from berkshire.research.att.com (raptor.research.att.com [135.207.23.32])
	by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id i4433tZ14912;
	Mon, 3 May 2004 23:03:56 -0400 (EDT)
Received: from research.att.com (localhost [127.0.0.1])
	by berkshire.research.att.com (Postfix) with ESMTP
	id E6AAA7B44; Mon,  3 May 2004 23:03:55 -0400 (EDT)
X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4
From: "Steven M. Bellovin" <smb@research.att.com>
To: "The Purple Streak, Hilarie Orman" <ho@alum.mit.edu>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Providing guidance on the choice of symmetric key length? 
In-Reply-To: Your message of "Mon, 03 May 2004 18:33:00 MDT."
             <200405040033.i440X0sT032344@localhost.localdomain> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 03 May 2004 23:03:55 -0400
Message-Id: <20040504030356.E6AAA7B44@berkshire.research.att.com>
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60

In message <200405040033.i440X0sT032344@localhost.localdomain>, "The Purple Str
eak, Hilarie Orman" writes:
>Unless there is a fundamental change in the basis of computing (such as
>quantum computing), a key size of 128 bits (that's 128 bits of entropy)
>should last forever, based on a rough estimate of energy consumption.
>Very few applications on the Internet today need that level of security.
>112 bits is still good enough for all practical purposes.
>
>You'd have to be really paranoid to protect against quantum computing ---
>it's hardly even a glimmer on the horizon.  If you are worried, because
>you've got data that MUST remain confidential for more than a human
>lifetime, then use a 256-bit key.

Right.  The best known quantum algorithms for attacking symmetric 
ciphers have complexity the square root of the key size.  For a 128-bit 
cipher to fall to such a thing, you'd not only need a quantum computer, 
you'd need a massively parallel one that could do 2^64 operations.  I'm 
not holding my breath waiting for that.

>
>I've seen many vendors boast that they use 256-bit keys for "maximum"
>security.  Very impressive.  Now, what is the probability that they've
>got some design flaw that renders all that security worthless?

Yup.

		--Steve Bellovin, http://www.research.att.com/~smb



_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Thu May  6 10:34:27 2004
Received: from optimus.ietf.org (iesg.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA17022
	for <cfrg-archive@odin.ietf.org>; Thu, 6 May 2004 10:34:26 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLjrI-0008Jf-BC
	for cfrg-archive@odin.ietf.org; Thu, 06 May 2004 10:28:20 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i46ESKAm031964
	for cfrg-archive@odin.ietf.org; Thu, 6 May 2004 10:28:20 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLjnv-0006al-MU
	for cfrg-web-archive@optimus.ietf.org; Thu, 06 May 2004 10:24:51 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA16438
	for <cfrg-web-archive@ietf.org>; Thu, 6 May 2004 10:24:48 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BLjnt-0006Df-HO
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 10:24:49 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BLjn1-0005nt-00
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 10:23:55 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BLjmB-0005OL-00
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 10:23:03 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLjaW-00071l-IF; Thu, 06 May 2004 10:11:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLjSf-0001li-7y
	for cfrg@optimus.ietf.org; Thu, 06 May 2004 10:02:53 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA14096
	for <cfrg@ietf.org>; Thu, 6 May 2004 10:02:50 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BLjSd-0004a1-7l
	for cfrg@ietf.org; Thu, 06 May 2004 10:02:51 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BLjRn-0004AK-00
	for cfrg@ietf.org; Thu, 06 May 2004 10:01:59 -0400
Received: from peacock.verisign.com ([65.205.251.73])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BLjQu-0003jb-00
	for cfrg@ietf.org; Thu, 06 May 2004 10:01:05 -0400
Received: from MOU1WNEXC03.vcorp.ad.vrsn.com (verisign.com [65.205.251.55])
        by peacock.verisign.com (8.12.11/) with ESMTP id i46E12eU017875;
        Thu, 6 May 2004 07:01:02 -0700 (PDT)
Received: by mou1wnexc03.vcorp.ad.vrsn.com with Internet Mail Service (5.5.2657.72)
	id <KLLNB770>; Thu, 6 May 2004 07:01:02 -0700
Message-ID: <C6DDA43B91BFDA49AA2F1E473732113E5DBC38@mou1wnexm05.vcorp.ad.vrsn.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "'The Purple Streak, Hilarie Orman'" <ho@alum.mit.edu>, cfrg@ietf.org
Subject: RE: [Cfrg] Providing guidance on the choice of symmetric key leng
	th?
Date: Thu, 6 May 2004 07:00:55 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL autolearn=no version=2.60

> You'd have to be really paranoid to protect against quantum 
> computing ---
> it's hardly even a glimmer on the horizon.  If you are 
> worried, because
> you've got data that MUST remain confidential for more than a human
> lifetime, then use a 256-bit key.

It is pretty easy to give a minimum in this area. But there is no real
limit on the maximum bit length. 

RSA is kinda useful in that regard, when the keys get beyond 512 bits 
you start to see some pain as you try to implement. 2048 bit keys start
to become really inconvenient when you are trying to pack data into
UDP packets.

The number of bits in the key length is probably less important than 
the number of rounds. I do not expect AES to be broken by brute force
at any key strength. If it is broken it will be because the number
of rounds is not sufficient. At one of the RSA conferences Adi Shamir 
said he would prefer it if the number of rounds was increased to
provide a safety margin. Using a longer key also buys some extra rounds.

		Phill


_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



From exim@www1.ietf.org  Thu May  6 15:29:08 2004
Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA14256
	for <cfrg-archive@odin.ietf.org>; Thu, 6 May 2004 15:29:08 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLoUa-0000gu-0e
	for cfrg-archive@odin.ietf.org; Thu, 06 May 2004 15:25:12 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id i46JPBdL002656
	for cfrg-archive@odin.ietf.org; Thu, 6 May 2004 15:25:11 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLoLc-0005D6-Ap
	for cfrg-web-archive@optimus.ietf.org; Thu, 06 May 2004 15:15:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12899
	for <cfrg-web-archive@ietf.org>; Thu, 6 May 2004 15:15:54 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BLoLb-0006bD-4U
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 15:15:55 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BLoKc-00069R-00
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 15:14:55 -0400
Received: from optimus.ietf.org ([132.151.1.19])
	by ietf-mx with esmtp (Exim 4.12)
	id 1BLoJc-0005dv-00
	for cfrg-web-archive@ietf.org; Thu, 06 May 2004 15:13:52 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLoDw-0007s6-Ep; Thu, 06 May 2004 15:08:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 1BLnHt-0003RK-ME
	for cfrg@optimus.ietf.org; Thu, 06 May 2004 14:08:01 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08382
	for <cfrg@ietf.org>; Thu, 6 May 2004 14:07:58 -0400 (EDT)
Received: from ietf-mx.ietf.org ([132.151.6.1] helo=ietf-mx)
	by ietf-mx with esmtp (Exim 4.32)
	id 1BLnHr-0001Z1-7t
	for cfrg@ietf.org; Thu, 06 May 2004 14:07:59 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12)
	id 1BLnGz-00019H-00
	for cfrg@ietf.org; Thu, 06 May 2004 14:07:06 -0400
Received: from hoemail1.lucent.com ([192.11.226.161] helo=hoemail1.firewall.lucent.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 1BLnG9-0000PE-00
	for cfrg@ietf.org; Thu, 06 May 2004 14:06:13 -0400
Received: from nwmail.wh.lucent.com (h135-5-40-100.lucent.com [135.5.40.100])
	by hoemail1.firewall.lucent.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i46I5dV22907
	for <cfrg@ietf.org>; Thu, 6 May 2004 13:05:40 -0500 (CDT)
Received: by nwmail.wh.lucent.com (8.11.7p1+Sun/EMS-1.5 sol2)
	id i46I5cX02586; Thu, 6 May 2004 14:05:38 -0400 (EDT)
Received: from lucent.com by nwmail.wh.lucent.com (8.11.7p1+Sun/EMS-1.5 sol2)
	id i46I5b902579; Thu, 6 May 2004 14:05:37 -0400 (EDT)
Message-ID: <409A7E62.4030406@lucent.com>
Date: Thu, 06 May 2004 14:05:22 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en, ru
MIME-Version: 1.0
To: cfrg@ietf.org
Subject: Re: [Cfrg] Providing guidance on the choice of symmetric key leng
 th?
References: <C6DDA43B91BFDA49AA2F1E473732113E5DBC38@mou1wnexm05.vcorp.ad.vrsn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 5/6/2004 10:00, Hallam-Baker, Phillip wrote:
> The number of bits in the key length is probably less important than 
> the number of rounds. I do not expect AES to be broken by brute force
> at any key strength. If it is broken it will be because the number
> of rounds is not sufficient. At one of the RSA conferences Adi Shamir 
> said he would prefer it if the number of rounds was increased to
> provide a safety margin. Using a longer key also buys some extra rounds.

I'm glad somebody else said this!  Phillip, I'm with you on this one.



_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg



