diff options
author | deraadt <> | 2023-09-18 22:38:16 +0000 |
---|---|---|
committer | deraadt <> | 2023-09-18 22:38:16 +0000 |
commit | bc048d0b869312fac6a3582a4bdb402c5301283f (patch) | |
tree | 0b8fc4fe89d984f91ad06c13adbccc8f15721ea2 /src | |
parent | b92995f2a1d2dda8c6289e3afb31574b7feec963 (diff) | |
download | openbsd-bc048d0b869312fac6a3582a4bdb402c5301283f.tar.gz openbsd-bc048d0b869312fac6a3582a4bdb402c5301283f.tar.bz2 openbsd-bc048d0b869312fac6a3582a4bdb402c5301283f.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.pl | 1 |
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 |
1027 | aesni_ctr32_encrypt_blocks: | 1027 | aesni_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 |