Home
last modified time | relevance | path

Searched hist:"3 fed9baad5fdaa4a1d174326f71f1952c7b66c04" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.cdiff 3fed9baad5fdaa4a1d174326f71f1952c7b66c04 Mon Sep 16 08:42:06 CEST 2019 Nagadheeraj Rottela <rnagadheeraj@marvell.com> crypto: cavium/nitrox - check assoclen and authsize for gcm(aes) cipher

Check if device supports assoclen to solve hung task timeout error when
extra tests are enabled. Return -EINVAL if assoclen is not supported.
Check authsize to return -EINVAL if authentication tag size is invalid.
Change blocksize to 1 to match with generic implementation.

Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
Reported-by: Mallesham Jatharakonda <mallesham.jatharakonda@oneconvergence.com>
Suggested-by: Mallesham Jatharakonda <mallesham.jatharakonda@oneconvergence.com>
Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>