mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
crypto: x86/blowfish - Eliminate use of SYM_TYPED_FUNC_START in asm
Now that we use the ECB/CBC macros, none of the asm functions in blowfish-x86_64 are called indirectly. So we can safely use SYM_FUNC_START instead of SYM_TYPED_FUNC_START with no effect, allowing us to remove an include. Signed-off-by: Peter Lafreniere <peter@n8pjl.ca> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
bc3f42acc4
commit
c9adc75d32
@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/cfi_types.h>
|
||||
|
||||
.file "blowfish-x86_64-asm.S"
|
||||
.text
|
||||
@ -100,7 +99,7 @@
|
||||
bswapq RX0; \
|
||||
movq RX0, (RIO);
|
||||
|
||||
SYM_TYPED_FUNC_START(blowfish_enc_blk)
|
||||
SYM_FUNC_START(blowfish_enc_blk)
|
||||
/* input:
|
||||
* %rdi: ctx
|
||||
* %rsi: dst
|
||||
@ -131,7 +130,7 @@ SYM_TYPED_FUNC_START(blowfish_enc_blk)
|
||||
RET;
|
||||
SYM_FUNC_END(blowfish_enc_blk)
|
||||
|
||||
SYM_TYPED_FUNC_START(blowfish_dec_blk)
|
||||
SYM_FUNC_START(blowfish_dec_blk)
|
||||
/* input:
|
||||
* %rdi: ctx
|
||||
* %rsi: dst
|
||||
@ -273,7 +272,7 @@ SYM_FUNC_END(blowfish_dec_blk)
|
||||
bswapq RT3; \
|
||||
xorq RT3, RX3;
|
||||
|
||||
SYM_TYPED_FUNC_START(blowfish_enc_blk_4way)
|
||||
SYM_FUNC_START(blowfish_enc_blk_4way)
|
||||
/* input:
|
||||
* %rdi: ctx
|
||||
* %rsi: dst
|
||||
@ -308,7 +307,7 @@ SYM_TYPED_FUNC_START(blowfish_enc_blk_4way)
|
||||
RET;
|
||||
SYM_FUNC_END(blowfish_enc_blk_4way)
|
||||
|
||||
SYM_TYPED_FUNC_START(__blowfish_dec_blk_4way)
|
||||
SYM_FUNC_START(__blowfish_dec_blk_4way)
|
||||
/* input:
|
||||
* %rdi: ctx
|
||||
* %rsi: dst
|
||||
|
Loading…
Reference in New Issue
Block a user