]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: user - Add CRYPTO_MSG_DELRNG
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2015 11:11:45 +0000 (19:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Jun 2015 07:49:27 +0000 (15:49 +0800)
commit57232fa85f1b47c85553917dd5f8dc542acdfb50
treef6962434a15507a02cfdc7f14e6971bd3a2b5c72
parentbfb096a346e64deb742b7a29c90250a2108a2dc1
crypto: user - Add CRYPTO_MSG_DELRNG

This patch adds a new crypto_user command that allows the admin to
delete the crypto system RNG.  Note that this can only be done if
the RNG is currently not in use.  The next time it is used a new
system RNG will be allocated.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_user.c
include/uapi/linux/cryptouser.h