crypto: skcipher - Add crypto_spawn_skcipher_alg_common
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 3 Oct 2023 03:43:19 +0000 (11:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Oct 2023 10:27:26 +0000 (18:27 +0800)
commitab6223dc3e1b0a842d663abbed400c43ebee07fc
tree37947254e881ac2485b175a3d1d4269238dd3cea
parent9a91792db10126fa291e22680d6cf5683d845a15
crypto: skcipher - Add crypto_spawn_skcipher_alg_common

As skcipher spawns can be of two different types (skcipher vs.
lskcipher), only the common fields can be accessed.  Add a helper
to return the common algorithm object.

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