From 52f96c842e82486510ffc2513e71323b70242f28 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 18 Sep 2023 22:38:16 +0000 Subject: aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it needs endbr64 ok kettenis tb --- src/lib/libcrypto/aes/asm/aesni-x86_64.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib') 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.=<<___; .type aesni_ctr32_encrypt_blocks,\@function,5 .align 16 aesni_ctr32_encrypt_blocks: + endbr64 lea (%rsp),%rax push %rbp sub \$$frame_size,%rsp -- cgit v1.2.3-55-g6feb