]> 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)
commitd56c608c0088a0cf1e9adf221763f047ac1e7181
treef6962434a15507a02cfdc7f14e6971bd3a2b5c72
parent9acbd79ca319ab3233c53cd310f545015c639511
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