diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/asm/0005-Revert-aesni-endbr64.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/asm/0005-Revert-aesni-endbr64.patch b/patches/asm/0005-Revert-aesni-endbr64.patch new file mode 100644 index 0000000..f2094e6 --- /dev/null +++ b/patches/asm/0005-Revert-aesni-endbr64.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | commit ac992937b461479b41f7f65e79646ef0a715f95d | ||
2 | Author: Brent Cook <busterb@gmail.com> | ||
3 | Date: Thu Nov 9 12:29:33 2023 -0600 | ||
4 | |||
5 | Revert "aesni_ctr32_encrypt_blocks() is called indirectly from C code, so it" | ||
6 | |||
7 | This reverts commit 52f96c842e82486510ffc2513e71323b70242f28. | ||
8 | |||
9 | diff --git a/src/lib/libcrypto/aes/asm/aesni-x86_64.pl b/src/lib/libcrypto/aes/asm/aesni-x86_64.pl | ||
10 | index 07d40a84a..c261a3795 100644 | ||
11 | --- a/src/lib/libcrypto/aes/asm/aesni-x86_64.pl | ||
12 | +++ b/src/lib/libcrypto/aes/asm/aesni-x86_64.pl | ||
13 | @@ -1025,7 +1025,6 @@ $code.=<<___; | ||
14 | .type aesni_ctr32_encrypt_blocks,\@function,5 | ||
15 | .align 16 | ||
16 | aesni_ctr32_encrypt_blocks: | ||
17 | - endbr64 | ||
18 | lea (%rsp),%rax | ||
19 | push %rbp | ||
20 | sub \$$frame_size,%rsp | ||