Skip to content
Snippets Groups Projects
Commit ef4113b5 authored by Cfir Cohen's avatar Cfir Cohen Committed by 谢秀奇
Browse files

crypto: ccp/gcm - use const time tag comparison.


commit 538a5a07 upstream.

Avoid leaking GCM tag through timing side channel.

Fixes: 36cf515b ("crypto: ccp - Enable support for AES GCM on v5 CCPs")
Cc: <stable@vger.kernel.org> # v4.12+
Signed-off-by: default avatarCfir Cohen <cfir@google.com>
Acked-by: default avatarGary R Hook <ghook@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 7c26d1f6
No related branches found
No related tags found
No related merge requests found
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