Skip to content
Commit 3fed9baa authored by Nagadheeraj Rottela's avatar Nagadheeraj Rottela Committed by Herbert Xu
Browse files

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: default avatarNagadheeraj Rottela <rnagadheeraj@marvell.com>
Reported-by: default avatarMallesham Jatharakonda <mallesham.jatharakonda@oneconvergence.com>
Suggested-by: default avatarMallesham Jatharakonda <mallesham.jatharakonda@oneconvergence.com>
Reviewed-by: default avatarSrikanth Jampala <jsrikanth@marvell.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent bac5c49e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment