Skip to content
Commit 92b27907 authored by Ben Hutchings's avatar Ben Hutchings Committed by Herbert Xu
Browse files

crypto: camellia_aesni_avx - Fix CPU feature checks



We need to explicitly check the AVX and AES CPU features, as we can't
infer them from the related XSAVE feature flags.  For example, the
Core i3 2310M passes the XSAVE feature test but does not implement
AES-NI.

Reported-and-tested-by: default avatarStéphane Glondu <glondu@debian.org>
References: https://bugs.debian.org/800934
Fixes: ce4f5f9b

 ("x86/fpu, crypto x86/camellia_aesni_avx: Simplify...")
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org> # 4.2
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a66d7f72
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