summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2023-09-18 22:38:16 +0000
committerderaadt <>2023-09-18 22:38:16 +0000
commit52f96c842e82486510ffc2513e71323b70242f28 (patch)
tree0b8fc4fe89d984f91ad06c13adbccc8f15721ea2 /src
parent2c53189466ff2818c0f9ec5a155f5ee933aeb608 (diff)
downloadopenbsd-52f96c842e82486510ffc2513e71323b70242f28.tar.gz
openbsd-52f96c842e82486510ffc2513e71323b70242f28.tar.bz2
openbsd-52f96c842e82486510ffc2513e71323b70242f28.zip
aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it
needs endbr64 ok kettenis tb
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/aes/asm/aesni-x86_64.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/aes/asm/aesni-x86_64.pl b/src/lib/libcrypto/aes/asm/aesni-x86_64.pl
index c261a37958..07d40a84ab 100644
--- a/src/lib/libcrypto/aes/asm/aesni-x86_64.pl
+++ b/src/lib/libcrypto/aes/asm/aesni-x86_64.pl
@@ -1025,6 +1025,7 @@ $code.=<<___;
1025.type aesni_ctr32_encrypt_blocks,\@function,5 1025.type aesni_ctr32_encrypt_blocks,\@function,5
1026.align 16 1026.align 16
1027aesni_ctr32_encrypt_blocks: 1027aesni_ctr32_encrypt_blocks:
1028 endbr64
1028 lea (%rsp),%rax 1029 lea (%rsp),%rax
1029 push %rbp 1030 push %rbp
1030 sub \$$frame_size,%rsp 1031 sub \$$frame_size,%rsp