Skip to content

Commit

Permalink
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/herbert/crypto-2.6

Pull crypto fix from Herbert Xu:
 "Fix a build-time warning in x86/sm4"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  crypto: x86/sm4 - Fix invalid section entry size
  • Loading branch information
torvalds committed Oct 29, 2021
2 parents 2c04d67 + f8690a4 commit 75c7a6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion arch/x86/crypto/sm4-aesni-avx-asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
vpxor tmp0, x, x;


.section .rodata.cst164, "aM", @progbits, 164
.section .rodata.cst16, "aM", @progbits, 16
.align 16

/*
Expand Down Expand Up @@ -133,6 +133,10 @@
.L0f0f0f0f:
.long 0x0f0f0f0f

/* 12 bytes, only for padding */
.Lpadding_deadbeef:
.long 0xdeadbeef, 0xdeadbeef, 0xdeadbeef


.text
.align 16
Expand Down
6 changes: 5 additions & 1 deletion arch/x86/crypto/sm4-aesni-avx2-asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
vpxor tmp0, x, x;


.section .rodata.cst164, "aM", @progbits, 164
.section .rodata.cst16, "aM", @progbits, 16
.align 16

/*
Expand Down Expand Up @@ -148,6 +148,10 @@
.L0f0f0f0f:
.long 0x0f0f0f0f

/* 12 bytes, only for padding */
.Lpadding_deadbeef:
.long 0xdeadbeef, 0xdeadbeef, 0xdeadbeef

.text
.align 16

Expand Down

0 comments on commit 75c7a6c

Please sign in to comment.