summaryrefslogtreecommitdiff
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2020-04-28 18:49:05 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-08 15:30:40 +1000
commitd87bb7584bf1fed90dc9fbb048b80a1df1bac508 (patch)
treedcbc49cb000525b23d7c4fcbf6d5bb1e2c26b4e9 /crypto/drbg.c
parent0eadd1eb3fd1251972218b40696b7f18e9521a5e (diff)
downloadlinux-crypto-d87bb7584bf1fed90dc9fbb048b80a1df1bac508.tar.gz
linux-crypto-d87bb7584bf1fed90dc9fbb048b80a1df1bac508.zip
crypto: engine - support for batch requests
Added support for batch requests, per crypto engine. A new callback is added, do_batch_requests, which executes a batch of requests. This has the crypto_engine structure as argument (for cases when more than one crypto-engine is used). The crypto_engine_alloc_init_and_set function, initializes crypto-engine, but also, sets the do_batch_requests callback. On crypto_pump_requests, if do_batch_requests callback is implemented in a driver, this will be executed. The link between the requests will be done in driver, if possible. do_batch_requests is available only if the hardware has support for multiple request. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions