crypto: lskcipher - Add compatibility wrapper around ECB
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Sep 2023 08:28:25 +0000 (16:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 20 Sep 2023 05:15:29 +0000 (13:15 +0800)
commit8aee5d4ebd113319f6882b2cd0475d270fdc0d41
tree6b791b747d7523a49fafd2259e07ee0067cf0401
parent31865c4c4db2b742fec6ccbff80483fa3e7ab9b9
crypto: lskcipher - Add compatibility wrapper around ECB

As an aid to the transition from cipher algorithm implementations
to lskcipher, add a temporary wrapper when creating simple lskcipher
templates by using ecb(X) instead of X if an lskcipher implementation
of X cannot be found.

This can be reverted once all cipher implementations have switched
over to lskcipher.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/lskcipher.c