lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 06 Jun 2014 14:23:23 +0200
From:	Stephan Mueller <smueller@...onox.de>
To:	Pavel Machek <pavel@....cz>
Cc:	Theodore Ts'o <tytso@....edu>, LKML <linux-kernel@...r.kernel.org>,
	linux-crypto@...r.kernel.org
Subject: Re: [PATCH 0/2] Add in-kernel /dev/random equivalent

Am Freitag, 6. Juni 2014, 13:59:00 schrieb Pavel Machek:

Hi Pavel,

>On Mon 2014-05-12 00:36:01, Stephan Mueller wrote:
>> Hi,
>> 
>> as discussed in thread [1], an in-kernel equivalent to the blocking
>> /dev/random device behavior is suggested. This in-kernel blocking
>> access to the RNG can be used to seed deterministic random number
>> generators with random numbers that are directly backed by the
>> underlying noise sources.
>> 
>> The following patch implements this concept by adding a third output
>> pool, the kernel_pool that is only accessible inside the kernel.
>> That kernel_pool feeds the blocking operation API calls to obtain
>> random numbers.
>> 
>> Please find a test kernel module attached. You can unload it even
>> while the collection process is ongoing.
>> 
>> [1] https://lkml.org/lkml/2014/4/27/174
>> 
>> Stephan Mueller (2):
>>   Addition of kernel_pool
>>   Asynchronous and syncronous API for accessing kernel_pool
>>  
>>  drivers/char/random.c  | 163
>> 
>> +++++++++++++++++++++++++++++++++++++++++++++----
>> 
>>  include/linux/random.h |  16 +++++
>>  2 files changed, 166 insertions(+), 13 deletions(-)
>
> * Copyright (c) 2014
> *
> * Permission is hereby granted, free of charge, to any person
> *obtaining a copy
> * of this software and associated documentation files (the
> *"Software"), to deal
> * in the Software without restriction, including without limitation
> *the rights
> * to use, copy, modify, merge, publish, distribute, sublicense,
> *and/or sell
> * copies of the Software, and to permit persons to whom the Software
> *is
> * furnished to do so, subject to the following conditions:
>
>...but module_license says this is GPL...

Thank you very much for the hint -- this is an oversight on my behalf. I 
wanted the test kernel code to be licensed in a dual BSD/GPLv2 style.

As this is just a test module to demonstrate the appropriateness of the 
offered patch, I hope you can still live with it until a potential new 
submission is provided. Though, if you insist I can resubmit the test 
module with the dual BSD/GPLv2 clause.

Ciao
Stephan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ