29 lines
846 B
Diff
29 lines
846 B
Diff
From d2bfec6e464aeb247a2d6853668d4e473f19e15f Mon Sep 17 00:00:00 2001
|
|
From: "fangming.fang" <fangming.fang@arm.com>
|
|
Date: Thu, 7 Dec 2023 06:17:51 +0000
|
|
Subject: [PATCH] Enable BTI feature for md5 on aarch64
|
|
|
|
Fixes: #22959
|
|
---
|
|
crypto/md5/asm/md5-aarch64.pl | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/crypto/md5/asm/md5-aarch64.pl b/crypto/md5/asm/md5-aarch64.pl
|
|
index 3200a0fa9bff0..5a8608069691d 100755
|
|
--- a/crypto/md5/asm/md5-aarch64.pl
|
|
+++ b/crypto/md5/asm/md5-aarch64.pl
|
|
@@ -28,10 +28,13 @@
|
|
*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]
|