openssl/crypto/rc4
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 build.info: For all assembler generators, remove all arguments 2019-09-16 16:29:57 +02:00
rc4_enc.c Deprecate the low level RC4 functions 2020-01-16 07:07:27 +10:00
rc4_local.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
rc4_skey.c Deprecate the low level RC4 functions 2020-01-16 07:07:27 +10:00