[Hipsec] 5201-bis -- Limiting ECC to co-factor of 1

Robert Moskowitz <rgm@htt-consult.com> Tue, 31 May 2011 15:31 UTC

Return-Path: <rgm@htt-consult.com>
X-Original-To: hipsec@ietfa.amsl.com
Delivered-To: hipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D4AAE082A for <hipsec@ietfa.amsl.com>; Tue, 31 May 2011 08:31:16 -0700 (PDT)
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.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GakEEQMC23vw for <hipsec@ietfa.amsl.com>; Tue, 31 May 2011 08:31:14 -0700 (PDT)
Received: from klovia.htt-consult.com (klovia.htt-consult.com [208.83.67.149]) by ietfa.amsl.com (Postfix) with ESMTP id B75AFE07BF for <hipsec@ietf.org>; Tue, 31 May 2011 08:31:13 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by klovia.htt-consult.com (Postfix) with ESMTP id 7A14D62A6F for <hipsec@ietf.org>; Tue, 31 May 2011 15:30:50 +0000 (UTC)
X-Virus-Scanned: amavisd-new at localhost
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 pdZOlBAQW8iP for <hipsec@ietf.org>; Tue, 31 May 2011 11:30:39 -0400 (EDT)
Received: from nc2400.htt-consult.com (nc2400.htt-consult.com [208.83.67.155]) (Authenticated sender: rgm@htt-consult.com) by klovia.htt-consult.com (Postfix) with ESMTPSA id 173D062C1F for <hipsec@ietf.org>; Tue, 31 May 2011 11:30:39 -0400 (EDT)
Message-ID: <4DE50999.1040904@htt-consult.com>
Date: Tue, 31 May 2011 11:30:33 -0400
From: Robert Moskowitz <rgm@htt-consult.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10
MIME-Version: 1.0
To: hipsec@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [Hipsec] 5201-bis -- Limiting ECC to co-factor of 1
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.12
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/options/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, 31 May 2011 15:31:16 -0000

I hope I got the wording right here and have captured the conversations 
I have had on this subject...

All the curves specified in 5201-bis have a co-factor of 1.  It is my 
understanding that we can meet all of our security goals for HIP with 
curves having a co-factor of 1 and by explicitly limiting 5201-bis to 
curves with a co-factor 1 (as some other RFCs have done) we address one 
of the 3 IPR claims from Certicom.

To this end I want to add text to both 5.2.6 and 5.2.8 calling out this 
limit.  Perhaps something like (and I welcome any improvements):

in 5.2.6:

    The MODP Diffie-Hellman groups are defined in [RFC3526].  The ECDH
    groups 7 - 9 are defined in [RFC5903] and [RFC6090].  ECDH group 10
    is covered in Appendix D.  Any ECDH used with HIP MUST have a 
co-factor of 1.

Note that this is also a fix to the text as the ID says groups 8-10 are 
in 5903 and 7 is in App D.   Oops

in 5.2.8:

    The Host Identity is derived from the DNSKEY format for RSA and DSA.
    For these, the Public Key field of the RDATA part from RFC 4034
    [RFC4034] is used.  For ECC we distinguish two different profiles:
    ECDSA and ECDSA_LOW.  ECC contains curves approved by NIST and
    defined in RFC 4754 [RFC4754].  ECDSA_LOW is defined for devices with
    low computational capabilities and uses shorter curves from SECG
    [SECG].  Any ECDSA used with HIP MUST have a co-factor of 1.