Re: [PATCH] random: add blocking facility to urandom

2011-09-09 Thread Steve Grubb
On Thursday, September 08, 2011 10:21:13 PM Sandy Harris wrote: > > The system being low on entropy is another problem that should be > > addressed. For our purposes, we cannot say take it from TPM or RDRND or > > any plugin board. We have to have the mathematical analysis that goes > > with it, we

Re: [PATCH] random: add blocking facility to urandom

2011-09-08 Thread Steve Grubb
On Thursday, September 08, 2011 08:52:34 AM Neil Horman wrote: > > to disk device - of course only if the device adds entropy into the > > primary pool when there are writes on the device. > > Yes, and thats a problem. We're assuming in the above case that writes to > disk generate interrupts whi

Re: [PATCH] random: add blocking facility to urandom

2011-09-08 Thread Steve Grubb
On Thursday, September 08, 2011 04:44:20 AM Christoph Hellwig wrote: > On Wed, Sep 07, 2011 at 11:27:12PM +0200, Stephan Mueller wrote: > > And exactly that is the concern from organizations like BSI. Their > > cryptographer's concern is that due to the volume of data that you can > > extract from

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 05:35:18 PM Jarod Wilson wrote: > Another proposal that has been kicked around: a 3rd random chardev, > which implements this functionality, leaving urandom unscathed. Some > udev magic or a driver param could move/disable/whatever urandom and put > this alternat

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 05:10:27 PM Sasha Levin wrote: > > > > > Something similar probably happens for getting junk on disks before > > > > > creating an encrypted filesystem on top of them. > > > > > > > > During system install, this sysctl is not likely to be applied. > > > > > > It m

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 04:37:57 PM Sasha Levin wrote: > On Wed, 2011-09-07 at 16:30 -0400, Steve Grubb wrote: > > On Wednesday, September 07, 2011 04:23:13 PM Sasha Levin wrote: > > > On Wed, 2011-09-07 at 16:02 -0400, Steve Grubb wrote: > > > > On Wednesda

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 04:33:05 PM Neil Horman wrote: > On Wed, Sep 07, 2011 at 04:02:24PM -0400, Steve Grubb wrote: > > On Wednesday, September 07, 2011 03:27:37 PM Ted Ts'o wrote: > > > On Wed, Sep 07, 2011 at 02:26:35PM -0400, Jarod Wilson wrote: > > &g

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 04:23:13 PM Sasha Levin wrote: > On Wed, 2011-09-07 at 16:02 -0400, Steve Grubb wrote: > > On Wednesday, September 07, 2011 03:27:37 PM Ted Ts'o wrote: > > > On Wed, Sep 07, 2011 at 02:26:35PM -0400, Jarod Wilson wrote: > > > > W

Re: [PATCH] random: add blocking facility to urandom

2011-09-07 Thread Steve Grubb
On Wednesday, September 07, 2011 03:27:37 PM Ted Ts'o wrote: > On Wed, Sep 07, 2011 at 02:26:35PM -0400, Jarod Wilson wrote: > > We're looking for a generic solution here that doesn't require > > re-educating every single piece of userspace. And anything done in > > userspace is going to be full of

Re: [PATCH 0/4] RFC: "New" /dev/crypto user-space interface

2010-08-10 Thread Steve Grubb
On Tuesday, August 10, 2010 03:17:57 pm Neil Horman wrote: > > There really is no comparison between what can be recorded synchronously > > vs async. > > Ok, so the $64 dollar question then: Do FIPS or Common Criteria require > that you log more than whats in the netlink packet? The TSF shall be

Re: [PATCH 0/4] RFC: "New" /dev/crypto user-space interface

2010-08-10 Thread Steve Grubb
On Tuesday, August 10, 2010 02:45:44 pm Neil Horman wrote: > On Tue, Aug 10, 2010 at 02:14:24PM -0400, Steve Grubb wrote: > > On Tuesday, August 10, 2010 01:57:40 pm Neil Horman wrote: > > > > > I'm not so sure I follow. how can you receive messages on a socket >

Re: [PATCH 0/4] RFC: "New" /dev/crypto user-space interface

2010-08-10 Thread Steve Grubb
On Tuesday, August 10, 2010 01:57:40 pm Neil Horman wrote: > > > I'm not so sure I follow. how can you receive messages on a socket in > > > response to requests that were sent from a different socket. In the > > > netlink multicast and broadcast case, sure, but theres no need to use > > > those.

Re: [PATCH 0/4] RFC: "New" /dev/crypto user-space interface

2010-08-10 Thread Steve Grubb
On Tuesday, August 10, 2010 08:46:28 am Neil Horman wrote: > Specifically, my concerns are twofold: > > 1) struct format. By passing down a structure as your doing through an > ioctl call, theres no way to extend/modify that structure easily for > future use. For instance the integration of aea