summaryrefslogtreecommitdiff
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2020-10-26 21:06:26 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-06 14:29:11 +1100
commit2d653936eb2cf613526290caa512b46e4c0d71ae (patch)
treeedca7dbf57f0dfeec1cbbc8edc2edbdf1e6259fb /crypto/af_alg.c
parent09a5ef9644bc0e167984136b711eb08206733af8 (diff)
crypto: caam - enable crypto-engine retry mechanism
Use the new crypto_engine_alloc_init_and_set() function to initialize crypto-engine and enable retry mechanism. Set the maximum size for crypto-engine software queue based on Job Ring size (JOBR_DEPTH) and a threshold (reserved for the non-crypto-API requests that are not passed through crypto-engine). The callback for do_batch_requests is NULL, since CAAM doesn't support linked requests. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions