.. | .. |
---|
47 | 47 | # This code schedules 1 block at a time, with 4 lanes per block |
---|
48 | 48 | ######################################################################## |
---|
49 | 49 | |
---|
50 | | -#ifdef CONFIG_AS_AVX |
---|
51 | 50 | #include <linux/linkage.h> |
---|
52 | 51 | |
---|
53 | 52 | ## assume buffers not aligned |
---|
.. | .. |
---|
347 | 346 | ## arg 3 : Num blocks |
---|
348 | 347 | ######################################################################## |
---|
349 | 348 | .text |
---|
350 | | -ENTRY(sha256_transform_avx) |
---|
| 349 | +SYM_FUNC_START(sha256_transform_avx) |
---|
351 | 350 | .align 32 |
---|
352 | 351 | pushq %rbx |
---|
353 | 352 | pushq %r12 |
---|
.. | .. |
---|
459 | 458 | popq %r13 |
---|
460 | 459 | popq %r12 |
---|
461 | 460 | popq %rbx |
---|
462 | | - ret |
---|
463 | | -ENDPROC(sha256_transform_avx) |
---|
| 461 | + RET |
---|
| 462 | +SYM_FUNC_END(sha256_transform_avx) |
---|
464 | 463 | |
---|
465 | 464 | .section .rodata.cst256.K256, "aM", @progbits, 256 |
---|
466 | 465 | .align 64 |
---|
.. | .. |
---|
498 | 497 | # shuffle xDxC -> DC00 |
---|
499 | 498 | _SHUF_DC00: |
---|
500 | 499 | .octa 0x0b0a090803020100FFFFFFFFFFFFFFFF |
---|
501 | | - |
---|
502 | | -#endif |
---|