Skip to content
Commit fe70f5df authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] aead: Return EBADMSG for ICV mismatch



This patch changes gcm/authenc to return EBADMSG instead of EINVAL for
ICV mismatches.  This convention has already been adopted by IPsec.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6160b289
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment