ltq-deu: fix cryptomgr test errors for aes
authorDaniel Kestrel <kestrel1974@t-online.de>
Mon, 31 May 2021 13:17:16 +0000 (15:17 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Jan 2022 23:22:42 +0000 (00:22 +0100)
commitcd01d41c77626731b3fe6a915bb4eecd188f6fb3
tree456969f9c76612ede0cc8f1215935d7b31cf5040
parent19cb3c9dff96da86d81907ef503ddf93b7ad562c
ltq-deu: fix cryptomgr test errors for aes

When running cryptomgr tests against the driver, there are several
occurences of different errors for even and uneven splitted data in the
underlying scatterlists for the ctr and ctr_rfc3686 algorithms which are
now fixed.
Fixed error in ctr_rfc3686_aes_decrypt function which was introduced with
the previous commit by using CRYPTO_DIR_ENCRYPT in the decrypt function.

Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c