summaryrefslogtreecommitdiff
path: root/arm64
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-02-21 18:58:40 +0100
committerNiels Möller <nisse@lysator.liu.se>2022-02-21 18:58:40 +0100
commit9939f86687ff8cd9109c5865c9ca48106ad1ae62 (patch)
tree1d2cd9825c14997a9167c3ebc785f8aa64d70c3e /arm64
parentab62f731a84ad0a3252ee038353ab4154a134160 (diff)
downloadnettle-9939f86687ff8cd9109c5865c9ca48106ad1ae62.tar.gz
arm64: Update fat setup for new ghash organization.
Diffstat (limited to 'arm64')
-rw-r--r--arm64/fat/ghash-set-key-2.asm (renamed from arm64/fat/gcm-hash.asm)7
-rw-r--r--arm64/fat/ghash-update-2.asm37
2 files changed, 40 insertions, 4 deletions
diff --git a/arm64/fat/gcm-hash.asm b/arm64/fat/ghash-set-key-2.asm
index 5ef171b5..530035f2 100644
--- a/arm64/fat/gcm-hash.asm
+++ b/arm64/fat/ghash-set-key-2.asm
@@ -1,4 +1,4 @@
-C arm64/fat/gcm-hash.asm
+C arm64/fat/ghash-set-key.asm
ifelse(`
Copyright (C) 2021 Mamone Tarsha
@@ -31,8 +31,7 @@ ifelse(`
')
dnl picked up by configure
-dnl PROLOGUE(_nettle_fat_gcm_init_key)
-dnl PROLOGUE(_nettle_fat_gcm_hash)
+dnl PROLOGUE(_nettle_ghash_set_key)
define(`fat_transform', `$1_arm64')
-include_src(`arm64/crypto/gcm-hash.asm')
+include_src(`arm64/crypto/ghash-set-key.asm')
diff --git a/arm64/fat/ghash-update-2.asm b/arm64/fat/ghash-update-2.asm
new file mode 100644
index 00000000..d8656522
--- /dev/null
+++ b/arm64/fat/ghash-update-2.asm
@@ -0,0 +1,37 @@
+C arm64/fat/ghash-update.asm
+
+ifelse(`
+ Copyright (C) 2021 Mamone Tarsha
+
+ This file is part of GNU Nettle.
+
+ GNU Nettle is free software: you can redistribute it and/or
+ modify it under the terms of either:
+
+ * the GNU Lesser General Public License as published by the Free
+ Software Foundation; either version 3 of the License, or (at your
+ option) any later version.
+
+ or
+
+ * the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+
+ or both in parallel, as here.
+
+ GNU Nettle is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received copies of the GNU General Public License and
+ the GNU Lesser General Public License along with this program. If
+ not, see http://www.gnu.org/licenses/.
+')
+
+dnl picked up by configure
+dnl PROLOGUE(_nettle_ghash_update)
+
+define(`fat_transform', `$1_arm64')
+include_src(`arm64/crypto/ghash-update.asm')