crypto: engine - Move crypto_engine_ops from request into crypto_alg
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Aug 2023 06:54:49 +0000 (14:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Aug 2023 09:01:10 +0000 (17:01 +0800)
commite5e7eb023f24653b07329162b6359283b3a03a20
tree7041f4c2154df174f764409cf98c7a5dfea56544
parentc1091e2baef65b24a39db6a61de316605d3505c5
crypto: engine - Move crypto_engine_ops from request into crypto_alg

Rather than having the callback in the request, move it into the
crypto_alg object.  This avoids having crypto_engine look into the
request context is private to the driver.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_engine.c
include/crypto/engine.h