From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= Subject: Re: [PATCH 2/8] libxl: add libxl__random_bytes() which fills a buffer with random bytes Date: Wed, 18 Jun 2014 13:43:17 +0200 Message-ID: <53A17B55.6050400@citrix.com> References: <1402585478-3389-1-git-send-email-david.vrabel@citrix.com> <1402585478-3389-3-git-send-email-david.vrabel@citrix.com> <1403090909.25575.8.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WxEH2-0002r0-OC for xen-devel@lists.xenproject.org; Wed, 18 Jun 2014 11:43:28 +0000 In-Reply-To: <1403090909.25575.8.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , David Vrabel Cc: xen-devel@lists.xenproject.org, Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 18/06/14 13:28, Ian Campbell wrote: > On Thu, 2014-06-12 at 16:04 +0100, David Vrabel wrote: >> The random bytes are obtained from /dev/urandom and are suitable for >> almost all uses (except for generating long-lived secure keys). >> >> Documentation suggests that /dev/urandom is widely available on Unix-like >> systems (such FreeBSD and NetBSD). > > This seems likely to me. Roger, can you confirm? Yes, I can confirm /dev/urandom exists on FreeBSD, I've already checked when I saw the patch. It seems to exists on NetBSD also: http://netbsd.gw.com/cgi-bin/man-cgi?urandom+4+NetBSD-current But I don't have a system to test with and confirm. Roger.