crypto: skcipher - Allow sync algorithms with large request contexts
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Nov 2022 10:05:41 +0000 (18:05 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Nov 2022 08:59:34 +0000 (16:59 +0800)
commite6cb02bd0a52457e486a752da5db7b67f2540c16
tree08a8263c76c3d9f2008daf6992b013f76e1738fd
parentcc7710d0d4ebc6998f04035cde4f32c5ddbe9d7f
crypto: skcipher - Allow sync algorithms with large request contexts

Some sync algorithms may require a large amount of temporary
space during its operations.  There is no reason why they should
be limited just because some legacy users want to place all
temporary data on the stack.

Such algorithms can now set a flag to indicate that they need
extra request context, which will cause them to be invisible
to users that go through the sync_skcipher interface.

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