Skip to content

Commit

Permalink
Enable BTI feature for md5 on aarch64
Browse files Browse the repository at this point in the history
Fixes: #22959

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #22971)

(cherry picked from commit ad347c9)
  • Loading branch information
zorrorffm authored and t8m committed Dec 13, 2023
1 parent d41b267 commit 3fcaf6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crypto/md5/asm/md5-aarch64.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3fcaf6b

Please sign in to comment.