Re: [IPsec] New draft on IKE Diffie-Hellman checks

"Dan Harkins" <dharkins@lounge.org> Tue, 11 December 2012 21:32 UTC

Return-Path: <dharkins@lounge.org>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35F0221F84F3 for <ipsec@ietfa.amsl.com>; Tue, 11 Dec 2012 13:32:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.215
X-Spam-Level:
X-Spam-Status: No, score=-6.215 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
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 yQMbLzGabg8H for <ipsec@ietfa.amsl.com>; Tue, 11 Dec 2012 13:32:26 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id C16BC21F84DC for <ipsec@ietf.org>; Tue, 11 Dec 2012 13:32:26 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 0136110224008; Tue, 11 Dec 2012 13:32:26 -0800 (PST)
Received: from 69.12.173.8 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Tue, 11 Dec 2012 13:32:26 -0800 (PST)
Message-ID: <c2cc7c6b1feed9c2cec2ce5d5adcfbf1.squirrel@www.trepanning.net>
In-Reply-To: <5808c090d8485cc6698829b522fade80.squirrel@www.trepanning.net>
References: <50C62D6A.8010709@gmail.com> <5808c090d8485cc6698829b522fade80.squirrel@www.trepanning.net>
Date: Tue, 11 Dec 2012 13:32:26 -0800
From: Dan Harkins <dharkins@lounge.org>
To: Dan Harkins <dharkins@lounge.org>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] New draft on IKE Diffie-Hellman checks
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 21:32:27 -0000

  I made a mistake below. Thanks to Dan Brown for pointing it out.

On Tue, December 11, 2012 10:06 am, Dan Harkins wrote:
[snip]
>   - I think it should be mentioned that elliptic curve groups
>      have a co-factor, h, and if h > 1 that a further check is
>      also required, namely, if the x- and y-coordinates define
>      a point Q then ensure that:
>
>            hQ = point-at-infinity
>
>      Add this check to both 2.3 and 2.4. Of course if h=1 then this
>      check can be skipped.

  The check should be hQ != point-at-infinity. An equivalent check
could be nQ = point-at-infinity where n is the order of the group
formed by the generator, G.

  regards,

  Dan.