Re: I-D Action: draft-ietf-6man-default-iids-11.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 25 May 2016 04:27 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F49912D60E for <ipv6@ietfa.amsl.com>; Tue, 24 May 2016 21:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 eeQ7Q-i6m4Pc for <ipv6@ietfa.amsl.com>; Tue, 24 May 2016 21:27:38 -0700 (PDT)
Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 761F112D602 for <ipv6@ietf.org>; Tue, 24 May 2016 21:27:38 -0700 (PDT)
Received: by mail-pa0-x22b.google.com with SMTP id qo8so13529549pab.1 for <ipv6@ietf.org>; Tue, 24 May 2016 21:27:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=N66cih9zkXmMszPNlGBhVlaIbMOvC63VR0ciACtorS8=; b=Ej5nYpJIvVbTjA79Xf6zZCaBciWFgJSBFnqjIPXgpfZ9ATIX0o75seTNlASmxh4vK1 xhluaajOWSLGjdcO1fyuZTN5MiNvZpO7njrFZgKs9CTxpR4mAocw5InuRo9Ec40kYPE3 4zxi2U1kO+QpOX7SPLY+y6oLbVdWwQ3yLFrD73NC7tTrLtwyDwNjiKHk/XpbEW24WtGU gX38RJmlQpGHGgkSUVZB8mrwjKsFxZ9Au4AL371y19z+9fGg0NjfaqoiBpIWP5wub+yC yAdCFKPnYR3qmc4Q9ZfeCJzbFkGKs33oB/PRW5WY5clCsXPOV/K7t99yBUFBYggIeDwU LSlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=N66cih9zkXmMszPNlGBhVlaIbMOvC63VR0ciACtorS8=; b=fPvGLAyUMIx9992MIQt+n7YH/BIaC+ORAo5kMLxnhk/1iQZfr4vNiYbQV7eu1hd9C6 A6he44ThmTP6ToXiIWSolpkay+Mm72ZeNX79J+jLsfN/wGMX13K6ea0zWDNcFbUFMnzu x0HMBbW2sWVG3DPKFIFLSzVrKa535ZfMV6GpNQQl+mZNSrECZgE3rAvA+UPjrA/M2IGu uy2A8OhwN8a8fY/FgfaYBS9KhvGcS3m65ckaekWIX4q7nXFa/NuzohfF8ZUPY7Oke7zU MNj17dXuRXgrm5eBxguQ3vCUwMscAxlgz3xHMq20+z4mcJaOZKBG5/oMYjokp4qBm1jV YGFw==
X-Gm-Message-State: ALyK8tJUXyvp0i1miMVEFAkYm/nMUGLOGbzB6wMKDYRGua01+NOl7f0BnAGa0Fm1Maq1yg==
X-Received: by 10.66.21.102 with SMTP id u6mr2678514pae.118.1464150457963; Tue, 24 May 2016 21:27:37 -0700 (PDT)
Received: from ?IPv6:2406:e007:51cc:1:7452:e067:b14f:2733? ([2406:e007:51cc:1:7452:e067:b14f:2733]) by smtp.gmail.com with ESMTPSA id 7sm57862081pfe.88.2016.05.24.21.27.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2016 21:27:37 -0700 (PDT)
Subject: Re: I-D Action: draft-ietf-6man-default-iids-11.txt
To: weigengyu <weigengyu@bupt.edu.cn>, Fernando Gont <fgont@si6networks.com>
References: <20160428004904.25189.43047.idtracker@ietfa.amsl.com> <CD39E9F1-4060-4884-91B3-5A974C3FFFF7@cooperw.in> <8E1CCE051EDF4491953D6E093809DA68@WeiGengyuPC> <2157FA8F808D4997BBF9AECD1B8DA52A@WeiGengyuPC> <0d4da5aa-ff7b-6d90-8a9e-f4cf5f2fe50f@gmail.com> <573BD140.8000607@si6networks.com> <E87615B9D8A8479CB545BA12980A7225@WeiGengyuPC>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <67c67a11-2c60-88e9-b00b-b29c19e705be@gmail.com>
Date: Wed, 25 May 2016 16:27:41 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <E87615B9D8A8479CB545BA12980A7225@WeiGengyuPC>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/oflcBs4ReWHfdv59dCtnRFgEWQQ>
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 May 2016 04:27:40 -0000

A few years ago I found that the academic literature on hash functions seems
extremely weak. Actually a very good theoretician of randomness that I know
referred me to a paper from 1951*. Most of the "literature" appears
to be experimental results ("this algorithm seems to work better than
that algorithm").

http://www.isthe.com/chongo/tech/comp/fnv/index.html for example.

Regards
   Brian

* J. von Neumann, Various techniques used in connection with random digits, National
Bureau of Standards Applied Math Series 12, 36-38, 1951.


On 25/05/2016 14:58, weigengyu wrote:
> Hi Fernando,
> 
> Would you please provide the published refereces of Alfred Hoenes -- IIRC, a mathematician.
> IIRC, he noted that a hash function is simply one possible way of a PRF.
> 
> It is interested for the proof of Hash function to be a PRF.
> 
> Regards,
> 
> Gengyu WEI
> Network Technology Center
> School of Computer
> Beijing University of Posts and Telecommunications
> -----原始邮件----- From: Fernando Gont
> Sent: Wednesday, May 18, 2016 10:19 AM
> To: Brian E Carpenter ; weigengyu
> Cc: ipv6@ietf.org
> Subject: Re: I-D Action: draft-ietf-6man-default-iids-11.txt
> 
> On 05/16/2016 04:08 PM, Brian E Carpenter wrote:
>> Hi Gengyu,
>>
>>>> RID is not random or random identifier according to the context above.
>>>>
>>>> F() is an inreverse function, not a pseudorandom function.
>>
>> I agree that this is incorrect use of terminology; an irreversible hash is
>> not mathematically equivalent to a pseudo-random number generator. But the
>> effect is the same: an attacker has no way to predict the next F(x) or to
>> obtain the value of x. As far as practical engineering goes, F() can be treated
>> as a random number. So I don't see why this invalidates the use of RFC 7217.
>>
>> You could submit an erratum for RFC 7217 at http://www.rfc-editor.org/errata.php#reportnew
>> so that the terminology can be corrected when the document is updated.
> 
> FWIW, the term "PRF" (as *opposed*) to PRNG was suggested by Alfred
> Hoenes -- IIRC, a mathematician. IIRC, he noted that a hash function is
> simply one possible way of a PRF.
> 
>