summaryrefslogtreecommitdiff
path: root/crypto/crypto_user_base.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-11-26 22:08:02 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-11 16:36:54 +0800
commit31701000f52600cb1dd335dec9333addf1a69494 (patch)
treeca4db4c0ea1f0770539d5823fd2afd67766e439e /crypto/crypto_user_base.c
parenta33320033926272757a3fec07709b26584fa9a4f (diff)
downloadlinux-crypto-31701000f52600cb1dd335dec9333addf1a69494.tar.gz
linux-crypto-31701000f52600cb1dd335dec9333addf1a69494.zip
crypto: x86 - Regularize glue function prototypes
The crypto glue performed function prototype casting via macros to make indirect calls to assembly routines. Instead of performing casts at the call sites (which trips Control Flow Integrity prototype checking), switch each prototype to a common standard set of arguments which allows the removal of the existing macros. In order to keep pointer math unchanged, internal casting between u128 pointers and u8 pointers is added. Co-developed-by: João Moreira <joao.moreira@intel.com> Signed-off-by: João Moreira <joao.moreira@intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_user_base.c')
0 files changed, 0 insertions, 0 deletions