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
:
Rafael J. Wysocki
Re: -mm merge plans for 2.6.23
David Miller
Re: [GIT]: Networking
Kamalesh Babulal
Re: 2.6.23-rc6-mm1
Christoph Hellwig
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
git
:
linux-netdev
:
Paul E. McKenney
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jesper Krogh
Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
619 guests
online.
Online users
ijaldmi
Syndicate