summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorfangming.fang <fangming.fang@arm.com>2023-12-07 06:17:51 +0000
committerTomas Mraz <tomas@openssl.org>2023-12-13 10:41:34 +0100
commitad347c9ff0fd93bdd2fa2085611c65b88e94829f (patch)
treeae9e5760d3abe44607b54f17bff985419c005283 /crypto/md5
parent84356a02fe248cfd490b6ee2fa269c09410a5afb (diff)
Enable BTI feature for md5 on aarch64
Fixes: #22959 Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22971)
Diffstat (limited to 'crypto/md5')
-rwxr-xr-xcrypto/md5/asm/md5-aarch64.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/md5/asm/md5-aarch64.pl b/crypto/md5/asm/md5-aarch64.pl
index 3200a0fa9b..5a86080696 100755
--- a/crypto/md5/asm/md5-aarch64.pl
+++ b/crypto/md5/asm/md5-aarch64.pl
@@ -28,10 +28,13 @@ open OUT,"| \"$^X\" $xlate $flavour \"$output\""
*STDOUT=*OUT;
$code .= <<EOF;
+#include "arm_arch.h"
+
.text
.globl ossl_md5_block_asm_data_order
.type ossl_md5_block_asm_data_order,\@function
ossl_md5_block_asm_data_order:
+ AARCH64_VALID_CALL_TARGET
// Save all callee-saved registers
stp x19,x20,[sp,#-80]!
stp x21,x22,[sp,#16]