Skip to content

Commit

Permalink
crypto: x86 - Remove include/asm/inst.h
Browse files Browse the repository at this point in the history
Current minimum required version of binutils is 2.23,
which supports PSHUFB, PCLMULQDQ, PEXTRD, AESKEYGENASSIST,
AESIMC, AESENC, AESENCLAST, AESDEC, AESDECLAST and MOVQ
instruction mnemonics.

Substitute macros from include/asm/inst.h with a proper
instruction mnemonics in various assmbly files from
x86/crypto directory, and remove now unneeded file.

The patch was tested by calculating and comparing sha256sum
hashes of stripped object files before and after the patch,
to be sure that executable code didn't change.

Signed-off-by: Uros Bizjak <[email protected]>
CC: Herbert Xu <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Borislav Petkov <[email protected]>
CC: "H. Peter Anvin" <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ubizjak authored and herbertx committed Jul 16, 2020
1 parent 2c2e183 commit d7866e5
Show file tree
Hide file tree
Showing 7 changed files with 399 additions and 716 deletions.
1 change: 0 additions & 1 deletion arch/x86/crypto/aes_ctrby8_avx-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
*/

#include <linux/linkage.h>
#include <asm/inst.h>

#define VMOVDQ vmovdqu

Expand Down
Loading

0 comments on commit d7866e5

Please sign in to comment.