From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: New function: secure-random-bytes Date: Mon, 18 Mar 2013 09:48:09 -0700 Message-ID: <51474549.2050005@cs.ucla.edu> References: <87liwrh7r2.fsf@lifelogs.com> <4E04CA7B.2020101@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363625356 7932 80.91.229.3 (18 Mar 2013 16:49:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 16:49:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 18 17:49:42 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHdFh-0007BV-VE for ged-emacs-devel@m.gmane.org; Mon, 18 Mar 2013 17:49:38 +0100 Original-Received: from localhost ([::1]:52522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdFL-0002oX-1C for ged-emacs-devel@m.gmane.org; Mon, 18 Mar 2013 12:49:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdEV-0001RZ-Gq for emacs-devel@gnu.org; Mon, 18 Mar 2013 12:48:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHdEP-00066U-28 for emacs-devel@gnu.org; Mon, 18 Mar 2013 12:48:23 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHdEO-00066D-S3 for emacs-devel@gnu.org; Mon, 18 Mar 2013 12:48:16 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4965039E8125; Mon, 18 Mar 2013 09:48:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ijpr3VorvVN3; Mon, 18 Mar 2013 09:48:14 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C5D7639E8124; Mon, 18 Mar 2013 09:48:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157928 Archived-At: On 03/18/13 03:26, Leo Liu wrote: > From that discussion (almost two years ago) there was clearly interest > in having a strongly random source. The solution you proposed looks > excellent. Are there any progress on this matter? There's been no progress, alas. Yours is the first sign of interest that I've seen since then. I may be able to find a student or two who might volunteer to work on this; we'll see. There's one extra wrinkle I'd like to add while we're at it: if available we should use the random-number instructions in recent implementations of x86 and x86-64 architectures as this should yield even better performance. http://en.wikipedia.org/wiki/RdRand