]> granicus.if.org Git - openssl/commit
crypto/cryptlib.c: mask more capability bits upon FXSR bit flip.
authorAndy Polyakov <appro@openssl.org>
Wed, 30 Aug 2017 23:09:48 +0000 (01:09 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 1 Sep 2017 06:50:49 +0000 (08:50 +0200)
commitd020a65a03ec10b9f7a6415ec89759c385a37d3a
treecc3caedc2ceace3be408c0f8a1c57c007d5d0412
parent0d13ed3a17e9a98678a1695921bb479294b4b210
crypto/cryptlib.c: mask more capability bits upon FXSR bit flip.

OPENSSL_ia32cap.pod discusses possibility to disable operations on
XMM register bank. This formally means that this flag has to be checked
in combination with other flags. But it customarily isn't. But instead
of chasing all the cases we can flip more bits together with FXSR one.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4303)

(cherry picked from commit 6e5a853bda24e8aece325ecf5aa68b8ea832e414)
crypto/cryptlib.c
crypto/modes/gcm128.c