From 2d583a8ad8ed8375522e8310270047356994ef3f Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 18 Sep 2023 22:38:16 +0000 Subject: [PATCH] aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it needs endbr64 ok kettenis tb --- lib/libcrypto/aes/asm/aesni-x86_64.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libcrypto/aes/asm/aesni-x86_64.pl b/lib/libcrypto/aes/asm/aesni-x86_64.pl index c261a379580..07d40a84ab1 100644 --- a/lib/libcrypto/aes/asm/aesni-x86_64.pl +++ b/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 -- 2.20.1