]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Enable BTI feature for md5 on aarch64
authorfangming.fang <fangming.fang@arm.com>
Thu, 7 Dec 2023 06:17:51 +0000 (06:17 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 13 Dec 2023 09:41:34 +0000 (10:41 +0100)
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)

crypto/md5/asm/md5-aarch64.pl

index 3200a0fa9bff08c6da24129dd0c7e83e49566d95..5a8608069691d13c2470de4dc5710c38f49cc19d 100755 (executable)
@@ -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]