diff options
Diffstat (limited to 'cipher/sm4-gfni-avx2-amd64.S')
-rw-r--r-- | cipher/sm4-gfni-avx2-amd64.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cipher/sm4-gfni-avx2-amd64.S b/cipher/sm4-gfni-avx2-amd64.S index e21bd93b..2fbaffd5 100644 --- a/cipher/sm4-gfni-avx2-amd64.S +++ b/cipher/sm4-gfni-avx2-amd64.S @@ -87,9 +87,12 @@ #define RB2x %xmm14 #define RB3x %xmm15 -.text +SECTION_RODATA .align 32 +ELF(.type _sm4_gfni_avx2_consts,@object) +_sm4_gfni_avx2_consts: + /* Affine transform, SM4 field to AES field */ .Lpre_affine_s: .byte 0x52, 0xbc, 0x2d, 0x02, 0x9e, 0x25, 0xac, 0x34 @@ -133,6 +136,8 @@ .Lbswap32_mask: .byte 3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12 +.text + .align 16 .globl _gcry_sm4_gfni_avx2_expand_key ELF(.type _gcry_sm4_gfni_avx2_expand_key,@function;) |