crypto: sun4i-ss - Handle better absence/presence of IV
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Thu, 18 Apr 2019 08:17:32 +0000 (10:17 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:12 +0000 (15:38 +0800)
commit82b3ad7445968ba70edc42d97ba3510c4623679a
tree009f7fb1237eb5d4fc901b5b90663ef1dd6cb863
parentbee7bdf11f0129f460e83a2f5f50bba8434a6929
crypto: sun4i-ss - Handle better absence/presence of IV

This patch remove the test against areq->info since sun4i-ss could work
without it (ECB).

Fixes: 6298e948215f ("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