login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
2
Re: get amount of "entropy" in /dev/random ?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Michal Schmidt <mschmidt@...>
To: Yakov Lerner <iler.ml@...>
Cc: Kernel Linux <linux-kernel@...>
Subject:
Re: get amount of "entropy" in /dev/random ?
Date: Tuesday, October 2, 2007 - 11:37 am
Yakov Lerner wrote:
quoted text
> >From the userlevel, can I get an estimate of "amount of entropy" > in /dev/random, that is, the estimate of number of bytes > readable until it blocks ? Of course multiple processes > can read bytes and this would not be exact ... but still .. as an upper > boundary estimate ? > > Thanks > Yakov
Try ioctl(fd, RNDGETENTCNT, &entropy_count) Michal -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
get amount of "entropy" in /dev/random ?
, Yakov Lerner
, (Tue Oct 2, 11:25 am)
RE: get amount of "entropy" in /dev/random ?
, David Schwartz
, (Tue Oct 2, 11:49 am)
Re: get amount of "entropy" in /dev/random ?
, Michal Schmidt
, (Tue Oct 2, 11:37 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Andrew Morton
echo mem > /sys/power/state
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Michael S. Tsirkin
Re: [RFC PATCH v2 03/19] vbus: add connection-client helper infrastructure
linux-raid
:
NeilBrown
[PATCH 00/18] Assorted md patches headed for 2.6.30
Justin Piszcz
General question (scheduler) with SSDs?
Neil Brown
Re: Any hope for a 27 disk RAID6+1HS array with four disks reporting "No md superb...
Ryan Wagoner
High IO Wait with RAID 1
Colocation donated by:
Who's online
There are currently
1 user
and
745 guests
online.
Online users
bobby33ser
Syndicate