crypto: octeontx2 - set assoclen in aead_do_fallback()
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sun, 10 Oct 2021 16:36:42 +0000 (19:36 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Oct 2021 10:45:34 +0000 (18:45 +0800)
commit06f6e365e2ecf799c249bb464aa9d5f055e88b56
tree6263302b8f21ee8f4cb5dd42cf85eea00163cfbd
parentb97c2b219b56d30e7f6c482a246c191df016e502
crypto: octeontx2 - set assoclen in aead_do_fallback()

Currently, in case of aead fallback, no associated data info is set in the
fallback request. To fix this, call aead_request_set_ad() to pass the assoclen.

Fixes: 6f03f0e8b6c8 ("crypto: octeontx2 - register with linux crypto framework")
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c