summaryrefslogtreecommitdiff
path: root/cipher/camellia-gfni-avx512-amd64.S
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2023-01-17 20:23:01 +0200
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2023-01-19 18:32:28 +0200
commit9d62c54de2b0cd3b1849a27f8998e1f0d43f1583 (patch)
tree24a57f2916f454ff9f4b78d8e57a239e021ded12 /cipher/camellia-gfni-avx512-amd64.S
parent14137d685cf8d779ac4656b64b7d5adcdcf90e3a (diff)
downloadlibgcrypt-9d62c54de2b0cd3b1849a27f8998e1f0d43f1583.tar.gz
amd64-asm: align functions to 16 bytes for cipher algos
* cipher/blowfish-amd64.S: Align functions to 16 bytes. * cipher/camellia-aesni-avx-amd64.S: Likewise. * cipher/camellia-aesni-avx2-amd64.h: Likewise. * cipher/camellia-gfni-avx512-amd64.S: Likewise. * cipher/cast5-amd64.S: Likewise. * cipher/chacha20-amd64-avx2.S: Likewise. * cipher/chacha20-amd64-ssse3.S: Likewise. * cipher/des-amd64.s: Likewise. * cipher/rijndael-amd64.S: Likewise. * cipher/rijndael-ssse3-amd64-asm.S: Likewise. * cipher/salsa20-amd64.S: Likewise. * cipher/serpent-avx2-amd64.S: Likewise. * cipher/serpent-sse2-amd64.S: Likewise. * cipher/sm4-aesni-avx-amd64.S: Likewise. * cipher/sm4-aesni-avx2-amd64.S: Likewise. * cipher/sm4-gfni-avx2-amd64.S: Likewise. * cipher/twofish-amd64.S: Likewise. * cipher/twofish-avx2-amd64.S: Likewise. -- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/camellia-gfni-avx512-amd64.S')
-rw-r--r--cipher/camellia-gfni-avx512-amd64.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/cipher/camellia-gfni-avx512-amd64.S b/cipher/camellia-gfni-avx512-amd64.S
index 14725b4a..66949d43 100644
--- a/cipher/camellia-gfni-avx512-amd64.S
+++ b/cipher/camellia-gfni-avx512-amd64.S
@@ -691,7 +691,7 @@ ELF(.type _gcry_camellia_gfni_avx512__constants,@object;)
ELF(.size _gcry_camellia_gfni_avx512__constants,.-_gcry_camellia_gfni_avx512__constants;)
-.align 8
+.align 16
ELF(.type __camellia_gfni_avx512_enc_blk64,@function;)
__camellia_gfni_avx512_enc_blk64:
@@ -751,7 +751,7 @@ __camellia_gfni_avx512_enc_blk64:
CFI_ENDPROC();
ELF(.size __camellia_gfni_avx512_enc_blk64,.-__camellia_gfni_avx512_enc_blk64;)
-.align 8
+.align 16
ELF(.type __camellia_gfni_avx512_dec_blk64,@function;)
__camellia_gfni_avx512_dec_blk64:
@@ -820,7 +820,7 @@ ELF(.size __camellia_gfni_avx512_dec_blk64,.-__camellia_gfni_avx512_dec_blk64;)
kaddb %k1, %k1, %k1; \
vpaddq hi_counter1, out, out{%k1};
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_ctr_enc
ELF(.type _gcry_camellia_gfni_avx512_ctr_enc,@function;)
@@ -973,7 +973,7 @@ _gcry_camellia_gfni_avx512_ctr_enc:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_ctr_enc,.-_gcry_camellia_gfni_avx512_ctr_enc;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_cbc_dec
ELF(.type _gcry_camellia_gfni_avx512_cbc_dec,@function;)
@@ -1035,7 +1035,7 @@ _gcry_camellia_gfni_avx512_cbc_dec:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_cbc_dec,.-_gcry_camellia_gfni_avx512_cbc_dec;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_cfb_dec
ELF(.type _gcry_camellia_gfni_avx512_cfb_dec,@function;)
@@ -1108,7 +1108,7 @@ _gcry_camellia_gfni_avx512_cfb_dec:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_cfb_dec,.-_gcry_camellia_gfni_avx512_cfb_dec;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_ocb_enc
ELF(.type _gcry_camellia_gfni_avx512_ocb_enc,@function;)
@@ -1271,7 +1271,7 @@ _gcry_camellia_gfni_avx512_ocb_enc:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_ocb_enc,.-_gcry_camellia_gfni_avx512_ocb_enc;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_ocb_dec
ELF(.type _gcry_camellia_gfni_avx512_ocb_dec,@function;)
@@ -1440,7 +1440,7 @@ _gcry_camellia_gfni_avx512_ocb_dec:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_ocb_dec,.-_gcry_camellia_gfni_avx512_ocb_dec;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_enc_blk64
ELF(.type _gcry_camellia_gfni_avx512_enc_blk64,@function;)
@@ -1504,7 +1504,7 @@ _gcry_camellia_gfni_avx512_enc_blk64:
CFI_ENDPROC();
ELF(.size _gcry_camellia_gfni_avx512_enc_blk64,.-_gcry_camellia_gfni_avx512_enc_blk64;)
-.align 8
+.align 16
.globl _gcry_camellia_gfni_avx512_dec_blk64
ELF(.type _gcry_camellia_gfni_avx512_dec_blk64,@function;)