2
0
mirror of https://github.com/openssl/openssl.git synced 2025-03-01 19:28:10 +08:00
openssl/crypto/aes/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-586.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-armv4.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-c64xplus.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-ia64.S Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-mips.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-parisc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-ppc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-s390x.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-sparcv9.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aes-x86_64.pl x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
aesfx-sparcv9.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesni-mb-x86_64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesni-sha1-x86_64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesni-sha256-x86_64.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesni-x86_64.pl x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
aesni-x86.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesp8-ppc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aest4-sparcv9.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
aesv8-armx.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
bsaes-armv7.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
bsaes-x86_64.pl x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
vpaes-armv8.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
vpaes-ppc.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00
vpaes-x86_64.pl x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
vpaes-x86.pl Do not silently truncate files on perlasm errors 2020-01-22 18:11:30 +01:00