diff options
| author | tb <> | 2024-02-24 17:53:20 +0000 |
|---|---|---|
| committer | tb <> | 2024-02-24 17:53:20 +0000 |
| commit | 2c66b949eac93a66838f31bcbbd5e3c769038538 (patch) | |
| tree | 69631120102170a49e77f5eb5f38c21befa98bef /src/lib/libcrypto/modes | |
| parent | c730c3b3b1845cc7c4a4aceff2031f1135faa6bb (diff) | |
| download | openbsd-2c66b949eac93a66838f31bcbbd5e3c769038538.tar.gz openbsd-2c66b949eac93a66838f31bcbbd5e3c769038538.tar.bz2 openbsd-2c66b949eac93a66838f31bcbbd5e3c769038538.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')
| -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 |
