Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...

Jon Callas <joncallas@icloud.com> Mon, 17 March 2014 16:35 UTC

Return-Path: <joncallas@icloud.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 897F11A040E for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:35:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 2eyfZL-l8ere for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:35:51 -0700 (PDT)
Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtp002.mac.com [17.172.204.237]) by ietfa.amsl.com (Postfix) with ESMTP id B38D61A0401 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 09:35:51 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_kddiOC0fzYvJwvOXwgm4Zw)"
Received: from [10.0.23.30] (media.merrymeet.com [173.164.244.98]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2L001EMA3HHPB0@st11p01mm-asmtp002.mac.com> for dsfjdssdfsd@ietf.org; Mon, 17 Mar 2014 16:35:43 +0000 (GMT)
From: Jon Callas <joncallas@icloud.com>
In-reply-to: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net>
Date: Mon, 17 Mar 2014 09:35:40 -0700
Message-id: <BAEC3519-7B6B-45DF-A0B4-E73EA066C0E5@icloud.com>
References: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=icloud.com; e=icloud.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaEhEKTEMXGx0EGx0YBBIZBBsTEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxseGmJCH2lmG2RYGXhzB xhiGxwZH0IRClhcFxkEGgQdB01LHRJISRxMBRsdBBsdGAQSGQQbExAbHhofGxEKXlkXYXJnQBw RCkxGF2xraxEKQ1oXGx0ZBBscHgQYHh4EExIRCkRYFxkRCkRJFxkRCkJGF2x9TER+fWUTaV4TE QpCRRduRX9kXngBE0AScBEKQk4Xa0UaUlAeQ1xZXGgRCkJMF2NEZh18TBNQZh5mEQpCbBdtSBN abU9PZ2dkHxEKQkAXZH5uWG8TbG1aTQURCnBoF2MbYU0cYWRHG3B6EQpwaBdsBRp+GXJ9HGhfH BEKcGgXZ38TcBh4XlpaUhIRCnBoF3ocEnMfQE9tQxJkEQpwaBdjcxwSWnBBEkldaxEKcGwXelh tBUMfH1tzUEcRCnBMF2YdfFxJSR95ZHxJEQ==
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/l_sobBjUBaFCscXpzvSK_EgUBYs
Cc: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>, Jon Callas <joncallas@icloud.com>
Subject: Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 16:35:53 -0000

On Mar 17, 2014, at 7:42 AM, Dan Brown <dbrown@certicom.com> wrote:

> Two issues:
>  
> 1.      If it is unclear to me from the 4086 description of BBS whether the state s_i is to be updated after each output. I believe that the state should be updated to improve backtracking resistance.  (Otherwise, it would be affected by a similar weak backtracking attack to the one DSS RNG, i.e. current state compromise the latest output can be distinguished from random.)
> 2.      Does the secret state include p and q?  If so, then the BBS suffers from a more severe backtracking attack: recovering the current state allows recovery of all the previous states, because p and q allows one to compute square roots.  This would undermine forward security applications.
> 

Yes, it does suffer from that same problem. While BBS has number-theoretic proofs of security, those proofs presume a random, unknown p and q. I've said that this is pushing the randomness problem down to the turtle below you.

I wrote a missive on the Cryptography list around the turn of the year in which I said that the EC DRBGs have this problem -- you get randomness providing you have a secret key, but how did you get *that*? -- going back to BBS. If you want, I'll dredge it up and post here.

	Jon