summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2016-08-04 20:02:47 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-08 23:43:53 +0800
commit2fdea258fde036a87d3396ec9c0ef66f10768530 (patch)
tree9dad1b327317d42e0a93d74f82b2c6c3c410d4f9 /crypto/Kconfig
parent1d2d87e81ea21f64c19b95ef228b865a6880e17e (diff)
crypto: caam - defer aead_set_sh_desc in case of zero authsize
To be able to generate shared descriptors for AEAD, the authentication size needs to be known. However, there is no imposed order of calling .setkey, .setauthsize callbacks. Thus, in case authentication size is not known at .setkey time, defer it until .setauthsize is called. The authsize != 0 check was incorrectly removed when converting the driver to the new AEAD interface. Cc: <stable@vger.kernel.org> # 4.3+ Fixes: 479bcc7c5b9e ("crypto: caam - Convert authenc to new AEAD interface") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions