Commit c9adc75d authored by Peter Lafreniere's avatar Peter Lafreniere Committed by Herbert Xu

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: default avatarPeter Lafreniere <peter@n8pjl.ca>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent bc3f42ac
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment