summaryrefslogtreecommitdiff
path: root/lib/libcrypto/modes
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-02-24 17:53:21 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-02-24 17:53:21 +0000
commit135b66ef9040a66e979fad9417df07b54ccb4817 (patch)
treecbec3881c5ec806a154ef25bd2a7c30df4c2d2db /lib/libcrypto/modes
parent004256b1b6189d447fc5a30027c51933607beec4 (diff)
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 'lib/libcrypto/modes')
-rw-r--r--lib/libcrypto/modes/asm/ghash-x86_64.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcrypto/modes/asm/ghash-x86_64.pl b/lib/libcrypto/modes/asm/ghash-x86_64.pl
index f3caac15d6f..bf547a041ba 100644
--- a/lib/libcrypto/modes/asm/ghash-x86_64.pl
+++ b/lib/libcrypto/modes/asm/ghash-x86_64.pl
@@ -165,6 +165,7 @@ $code=<<___;
.type gcm_gmult_4bit,\@function,2
.align 16
gcm_gmult_4bit:
+ _CET_ENDBR
push %rbx
push %rbp # %rbp and %r12 are pushed exclusively in
push %r12 # order to reuse Win64 exception handler...
@@ -195,6 +196,7 @@ $code.=<<___;
.type gcm_ghash_4bit,\@function,4
.align 16
gcm_ghash_4bit:
+ _CET_ENDBR
push %rbx
push %rbp
push %r12