mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
77ebdabe8d
Extend the user-space RNG interface: 1. Add entropy input via ALG_SET_DRBG_ENTROPY setsockopt option; 2. Add additional data input via sendmsg syscall. This allows DRBG to be tested with test vectors, for example for the purpose of CAVP testing, which otherwise isn't possible. To prevent erroneous use of entropy input, it is hidden under CRYPTO_USER_API_RNG_CAVP config option and requires CAP_SYS_ADMIN to succeed. Signed-off-by: Elena Petrova <lenaptr@google.com> Acked-by: Stephan Müller <smueller@chronox.de> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
---|---|---|
.. | ||
api-aead.rst | ||
api-akcipher.rst | ||
api-digest.rst | ||
api-intro.rst | ||
api-kpp.rst | ||
api-rng.rst | ||
api-samples.rst | ||
api-skcipher.rst | ||
api.rst | ||
architecture.rst | ||
asymmetric-keys.rst | ||
async-tx-api.rst | ||
crypto_engine.rst | ||
descore-readme.rst | ||
devel-algos.rst | ||
index.rst | ||
intro.rst | ||
userspace-if.rst |