openssl/crypto/modes
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
..
asm x86_64: Add endbranch at function entries for Intel CET 2020-02-15 22:15:03 +01:00
build.info Optimize AES-GCM implementation on aarch64 2019-12-19 12:36:07 +10:00
cbc128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
ccm128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
cfb128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
ctr128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
cts128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
gcm128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
ocb128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
ofb128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
siv128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
wrap128.c Following the license change, modify the boilerplates in crypto/modes/ 2018-12-06 15:06:37 +01:00
xts128.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00