Re: [Hipsec] Major change to KEYMAT

Miika Komu <miika.komu@hiit.fi> Mon, 28 December 2009 16:05 UTC

Return-Path: <miika.komu@hiit.fi>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA0ED3A6805 for <hipsec@core3.amsl.com>; Mon, 28 Dec 2009 08:05:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-eDzYFtn71s for <hipsec@core3.amsl.com>; Mon, 28 Dec 2009 08:05:27 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id C39393A687B for <hipsec@ietf.org>; Mon, 28 Dec 2009 08:05:27 -0800 (PST)
Received: from ip104.infrahip.net (87-94-236-71.bb.dnainternet.fi [87.94.236.71]) by argo.otaverkko.fi (Postfix) with ESMTP id 8B47225ED06; Mon, 28 Dec 2009 18:05:08 +0200 (EET)
Message-ID: <4B38D734.1060407@hiit.fi>
Date: Mon, 28 Dec 2009 17:05:08 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Robert Moskowitz <rgm@htt-consult.com>
References: <4B27C413.1030809@htt-consult.com>
In-Reply-To: <4B27C413.1030809@htt-consult.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: HIP <hipsec@ietf.org>
Subject: Re: [Hipsec] Major change to KEYMAT
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Dec 2009 16:05:28 -0000

Robert Moskowitz wrote:

Hi,

> I am leaning heavily to change the KEYMAT process to using 
> http://www.ietf.org/id/draft-krawczyk-hkdf-00.txt

+1 assuming that this is going to adopted as a network WG official draft?

> The HITs will be the INFO fed into the Expand step, but there is a 
> deficiency in the current KEYMAT WRT the SALT for the Extract phase.
> 
> Currently we have I and J used in KEYMAT, but both J is not truly 
> sourced from the Initiator, it is influenced by I from the Responder.  
> And both are too short by 'accept practices' that each NONCE is twice 
> the size of the desired master key.
> 
> So there should be a NONCE1 in R1 and NONCE2 in I2.  I think that NONCE1 
> SHOULD be echoed back in I2.

There's already echo parameters in the base exchange, so they should be 
just mandatory.

> The NONCE length is variable, 256, 384, or 512 depending on the key size 
> needed?  Which raises the question of where we control key length for 
> AES?  We are probably defaulting to 128 and not allowing for larger key 
> lengths?

What about fixing the key sizes in the transform suite id definitions 
and providing new definitions with larger sizes when needed?