diff options
author | tb <> | 2024-02-24 17:53:20 +0000 |
---|---|---|
committer | tb <> | 2024-02-24 17:53:20 +0000 |
commit | cdcdc3f000a66ef2634f3b9ffef752eaab42c119 (patch) | |
tree | 69631120102170a49e77f5eb5f38c21befa98bef /src/lib/libcrypto/modes/asm | |
parent | c10c5b524e3121f42c9239d737dd7f975638f378 (diff) | |
download | openbsd-cdcdc3f000a66ef2634f3b9ffef752eaab42c119.tar.gz openbsd-cdcdc3f000a66ef2634f3b9ffef752eaab42c119.tar.bz2 openbsd-cdcdc3f000a66ef2634f3b9ffef752eaab42c119.zip |
Add a few missing endbr64 to libcrypto
gcm_{gmult,ghash}_4bit(), aesni_ccm64_decrypt_blocks(), aes_cbc_encrypt(),
and aesni_xts_{en,de}crypt() were overlooked in previous passes.
Found with a diff for ld.lld by kettenis
ok kettenis
Diffstat (limited to 'src/lib/libcrypto/modes/asm')
-rw-r--r-- | src/lib/libcrypto/modes/asm/ghash-x86_64.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/modes/asm/ghash-x86_64.pl b/src/lib/libcrypto/modes/asm/ghash-x86_64.pl index f3caac15d6..bf547a041b 100644 --- a/src/lib/libcrypto/modes/asm/ghash-x86_64.pl +++ b/src/lib/libcrypto/modes/asm/ghash-x86_64.pl | |||
@@ -165,6 +165,7 @@ $code=<<___; | |||
165 | .type gcm_gmult_4bit,\@function,2 | 165 | .type gcm_gmult_4bit,\@function,2 |
166 | .align 16 | 166 | .align 16 |
167 | gcm_gmult_4bit: | 167 | gcm_gmult_4bit: |
168 | _CET_ENDBR | ||
168 | push %rbx | 169 | push %rbx |
169 | push %rbp # %rbp and %r12 are pushed exclusively in | 170 | push %rbp # %rbp and %r12 are pushed exclusively in |
170 | push %r12 # order to reuse Win64 exception handler... | 171 | push %r12 # order to reuse Win64 exception handler... |
@@ -195,6 +196,7 @@ $code.=<<___; | |||
195 | .type gcm_ghash_4bit,\@function,4 | 196 | .type gcm_ghash_4bit,\@function,4 |
196 | .align 16 | 197 | .align 16 |
197 | gcm_ghash_4bit: | 198 | gcm_ghash_4bit: |
199 | _CET_ENDBR | ||
198 | push %rbx | 200 | push %rbx |
199 | push %rbp | 201 | push %rbp |
200 | push %r12 | 202 | push %r12 |