]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun4i-ss - fallback when length is not multiple of blocksize
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Thu, 18 Apr 2019 08:17:35 +0000 (10:17 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:13 +0000 (15:38 +0800)
commit6412365a3acfc2eff8d64e396bf99bf49a50baab
tree969ba1113875e676dcd37eb20fa8158d041529b8
parentbb967c0eee5de86b2d5c95e5eb79bca772d8fea9
crypto: sun4i-ss - fallback when length is not multiple of blocksize

sun4i-ss does not handle requests when length are not a multiple of
blocksize.
This patch adds a fallback for that case.

Fixes: 6b6e3822d24f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c
drivers/crypto/sunxi-ss/sun4i-ss-core.c
drivers/crypto/sunxi-ss/sun4i-ss.h