]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/zcrypt: enable s390 hwrng to seed kernel entropy
authorIngo Tuchscherer <ingo.tuchscherer@de.ibm.com>
Tue, 17 Mar 2015 15:02:20 +0000 (16:02 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 1 Jul 2015 07:34:37 +0000 (09:34 +0200)
commitdb490cb9aeb77b392f4bdaad3ebe96ea1d5c7bfe
treef9f0b64173f679f17ce6c8f6500be0d0f0195d31
parent05a8256c586ab75bcd6b793737b2022a1a98cb1e
s390/zcrypt: enable s390 hwrng to seed kernel entropy

Set the 'quality' property in the zcrypt rng device structure to enable the
zcrypt hwrng device to take part in the kernel entropy seeding process.
A module parameter named hwrng_seed will be introduced to disable the
participation. By default this parameter is set to 1 (enabled).

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@de.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_api.c