summaryrefslogtreecommitdiffstats
path: root/crypto/modes/asm/aes-gcm-armv8_64.pl
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-04-15 01:23:36 +0200
committerTomas Mraz <tomas@openssl.org>2025-01-14 12:14:27 +0100
commitc6e65c1f8e627d2ff36134583628d49a7d2cc905 (patch)
tree9ac8a461d1316ed3fc81288b2d6da3538d5f4123 /crypto/modes/asm/aes-gcm-armv8_64.pl
parentdrbg: provide requested amount of entropy, rather than self-strength (diff)
downloadopenssl-c6e65c1f8e627d2ff36134583628d49a7d2cc905.tar.xz
openssl-c6e65c1f8e627d2ff36134583628d49a7d2cc905.zip
Make it able to run asm code on OpenBSD (arm64)
In order to get asm code running on OpenBSD we must place all constants into .rodata sections. The change to crypto/perlasm/arm-xlate.pl adjusts changes from Theo for additional assembler variants/flavours we use for building OpenSSL. Fixes #23312 Reviewed-by: Hugo Landau <hlandau@devever.net> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24137)
Diffstat (limited to 'crypto/modes/asm/aes-gcm-armv8_64.pl')
-rwxr-xr-xcrypto/modes/asm/aes-gcm-armv8_64.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/modes/asm/aes-gcm-armv8_64.pl b/crypto/modes/asm/aes-gcm-armv8_64.pl
index e7b1a17895..312057accd 100755
--- a/crypto/modes/asm/aes-gcm-armv8_64.pl
+++ b/crypto/modes/asm/aes-gcm-armv8_64.pl
@@ -6035,6 +6035,7 @@ ___
}
$code.=<<___;
+.rodata
.asciz "GHASH for ARMv8, CRYPTOGAMS by <appro\@openssl.org>"
.align 2
#endif