openssl/crypto/poly1305
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 Fix missing Assembler defines 2019-10-16 16:10:39 +10:00
poly1305_ameth.c Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
poly1305_base2_44.c Following the license change, modify the boilerplates in crypto/poly1305/ 2018-12-06 15:13:16 +01:00
poly1305_ieee754.c Following the license change, modify the boilerplates in crypto/poly1305/ 2018-12-06 15:13:16 +01:00
poly1305.c Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00