hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/crypto/sha256-avx2-asm.S
....@@ -48,7 +48,6 @@
4848 # This code schedules 2 blocks at a time, with 4 lanes per block
4949 ########################################################################
5050
51
-#ifdef CONFIG_AS_AVX2
5251 #include <linux/linkage.h>
5352
5453 ## assume buffers not aligned
....@@ -526,7 +525,7 @@
526525 ## arg 3 : Num blocks
527526 ########################################################################
528527 .text
529
-ENTRY(sha256_transform_rorx)
528
+SYM_FUNC_START(sha256_transform_rorx)
530529 .align 32
531530 pushq %rbx
532531 pushq %r12
....@@ -712,8 +711,8 @@
712711 popq %r13
713712 popq %r12
714713 popq %rbx
715
- ret
716
-ENDPROC(sha256_transform_rorx)
714
+ RET
715
+SYM_FUNC_END(sha256_transform_rorx)
717716
718717 .section .rodata.cst512.K256, "aM", @progbits, 512
719718 .align 64
....@@ -767,5 +766,3 @@
767766 .align 32
768767 _SHUF_DC00:
769768 .octa 0x0b0a090803020100FFFFFFFFFFFFFFFF,0x0b0a090803020100FFFFFFFFFFFFFFFF
770
-
771
-#endif