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:48:32 +0000 (08:48 +0200)
commit6e5a853bda24e8aece325ecf5aa68b8ea832e414
tree270c82691b064492838700aff24933c2c44f7aed
parent89bc9cf682e833d44fe135c901fe75f600d871ef
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)
crypto/cryptlib.c
crypto/modes/gcm128.c