Re: [kitten] I-D Action: draft-ietf-kitten-aes-cts-hmac-sha2-05.txt

Simo Sorce <simo@redhat.com> Tue, 30 September 2014 18:10 UTC

Return-Path: <simo@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F3E71A86FC for <kitten@ietfa.amsl.com>; Tue, 30 Sep 2014 11:10:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.688
X-Spam-Level:
X-Spam-Status: No, score=-7.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.786, SPF_HELO_PASS=-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 e8bEPux8Yc7N for <kitten@ietfa.amsl.com>; Tue, 30 Sep 2014 11:10:45 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 8616B1A871A for <kitten@ietf.org>; Tue, 30 Sep 2014 11:10:45 -0700 (PDT)
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8UIAhMW012829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for <kitten@ietf.org>; Tue, 30 Sep 2014 14:10:44 -0400
Received: from willson.usersys.redhat.com (ovpn-113-127.phx2.redhat.com [10.3.113.127]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8UIAg9Z015667 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for <kitten@ietf.org>; Tue, 30 Sep 2014 14:10:42 -0400
Date: Tue, 30 Sep 2014 14:10:40 -0400
From: Simo Sorce <simo@redhat.com>
To: kitten@ietf.org
Message-ID: <20140930141040.271b6205@willson.usersys.redhat.com>
In-Reply-To: <20140923122546.30735.53089.idtracker@ietfa.amsl.com>
References: <20140923122546.30735.53089.idtracker@ietfa.amsl.com>
Organization: Red Hat, Inc
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/QiO0KLfsTxVRJ-4oJyiSOU12ozA
Subject: Re: [kitten] I-D Action: draft-ietf-kitten-aes-cts-hmac-sha2-05.txt
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Sep 2014 18:10:59 -0000

On Tue, 23 Sep 2014 05:25:46 -0700
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 Common Authentication
> Technology Next Generation Working Group of the IETF.
> 
>         Title           : AES Encryption with HMAC-SHA2 for Kerberos 5
>         Authors         : Michael J. Jenkins
>                           Michael A. Peck
>                           Kelley W. Burgin
> 	Filename        : draft-ietf-kitten-aes-cts-hmac-sha2-05.txt

Hi while reading this otherwise very nice specification two questions
kept popping in my mind.

Why SHA-512 is not being used ?
Why AES-192 is not being used and SHA-384 is paired with AES-256
instead ?
Why are you using a hash twice the size of the bit strength required,
and chop it off, isn't HMAC supposedly not affected by birthday
attacks ?

I can guess at the rationale of some of these choices (some of it was
discussed in IETF meetings/lists), but it would be nice to have a
section that explains the choice or even just a reference to some other
document that does.

Regards,
Simo.

-- 
Simo Sorce * Red Hat, Inc * New York