[Hipsec] Re-purposing HIP parameters

Robert Moskowitz <rgm@htt-consult.com> Tue, 25 May 2010 20:03 UTC

Return-Path: <rgm@htt-consult.com>
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 80E223A6A55 for <hipsec@core3.amsl.com>; Tue, 25 May 2010 13:03:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001]
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 QZA6YQVQ9AcT for <hipsec@core3.amsl.com>; Tue, 25 May 2010 13:03:43 -0700 (PDT)
Received: from klovia.htt-consult.com (klovia.htt-consult.com [208.83.67.149]) by core3.amsl.com (Postfix) with ESMTP id A45363A6A28 for <hipsec@ietf.org>; Tue, 25 May 2010 13:03:43 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by klovia.htt-consult.com (Postfix) with ESMTP id 0609C68C13 for <hipsec@ietf.org>; Tue, 25 May 2010 19:56:46 +0000 (UTC)
Received: from klovia.htt-consult.com ([127.0.0.1]) by localhost (klovia.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id soe-kj-TswjQ for <hipsec@ietf.org>; Tue, 25 May 2010 15:56:37 -0400 (EDT)
Received: from nc2400.htt-consult.com (h155.home.htt [208.83.67.155]) (Authenticated sender: rgm@htt-consult.com) by klovia.htt-consult.com (Postfix) with ESMTPSA id 3193268B42 for <hipsec@ietf.org>; Tue, 25 May 2010 15:56:37 -0400 (EDT)
Message-ID: <4BFC2D0A.3030600@htt-consult.com>
Date: Tue, 25 May 2010 16:03:22 -0400
From: Robert Moskowitz <rgm@htt-consult.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4
MIME-Version: 1.0
To: HIP <hipsec@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [Hipsec] Re-purposing HIP parameters
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Tue, 25 May 2010 20:03:44 -0000

This is primarily about what in 5201 is HIP_HMAC and HMAC2.

I have renamed them HIP_MAC in 5201-bis, but HMAC is still the 
underlying function.

But in HIP DEX, I am using CMAC.  This is actually not so easy a change, 
as CMAC requires a uniformly randomly distributed key, unlike HMAC, and 
DIffie-Hellman keys are NOT uniformly randomly distributed.  But I've 
worked that part out.  And I have a HIP_MAC that if you are doing a DEX 
exchange will be just fine with CMAC.  Thing is do implementors want to 
have they code for HIP_MAC be dependent on knowing this is a BEX or DEX 
exchange (note the HIT_SUITE will key this key this off very easily)?