openssl/crypto/modes/asm
H.J. Lu 98ad3fe82b x86_64: Add endbranch at function entries for Intel CET
To support Intel CET, all indirect branch targets must start with
endbranch.  Here is a patch to add endbranch to function entries
in x86_64 assembly codes which are indirect branch targets as
discovered by running openssl testsuite on Intel CET machine and
visual inspection.

Verified with

$ CC="gcc -Wl,-z,cet-report=error" ./Configure shared linux-x86_64 -fcf-protection
$ make
$ make test

and

$ CC="gcc -mx32 -Wl,-z,cet-report=error" ./Configure shared linux-x32 -fcf-protection
$ make
$ make test # <<< passed with https://github.com/openssl/openssl/pull/10988

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10982)
2020-02-15 22:15:03 +01:00
..
aes-gcm-armv8_64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesni-gcm-x86_64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-alpha.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-armv4.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-c64xplus.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-ia64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-parisc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-s390x.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-sparcv9.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghash-x86_64.pl x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
ghash-x86.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghashp8-ppc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
ghashv8-armx.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00