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:
David Schwartz <davids@...>
To: Kernel Linux <linux-kernel@...>
Subject:
RE: get amount of "entropy" in /dev/random ?
Date: Tuesday, October 2, 2007 - 11:49 am
> From the userlevel, can I get an estimate of "amount of entropy"
quoted text
> 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
Yes. Look in drivers/char/random.c at the random_ioctl handler. You will see RNDGETENTCNT. DS -
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
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Mike Travis
[RFC 00/15] x86_64: Optimize percpu accesses
Dave Jones
agp / cpufreq.
linux-netdev
:
Willy Tarreau
Re: [PATCH] tcp: splice as many packets as possible at once
Gerrit Renker
[PATCH 14/37] dccp: Tidy up setsockopt calls
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
642 guests
online.
Syndicate