mirror of
https://github.com/openssl/openssl.git
synced 2025-01-10 12:03:34 +08:00
98ad3fe82b
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) |
||
---|---|---|
.. | ||
asm | ||
build.info | ||
camellia.c | ||
cmll_cbc.c | ||
cmll_cfb.c | ||
cmll_ctr.c | ||
cmll_ecb.c | ||
cmll_local.h | ||
cmll_misc.c | ||
cmll_ofb.c |