summaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-02-15 21:21:21 +0100
committerNiels Möller <nisse@lysator.liu.se>2022-02-15 21:21:21 +0100
commit60edc2905d4af10a372f83d2a51d688a1646ad43 (patch)
tree5559cd0c3d60e0abbe31d92a8410a302bc8e23ed /x86_64
parentbe24531355bc8d2b2ce5982e5a059ef382629831 (diff)
downloadnettle-x86_64-gcm.tar.gz
x86_64: Fat setup for GCM.x86_64-gcm
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/fat/gcm-hash.asm39
1 files changed, 39 insertions, 0 deletions
diff --git a/x86_64/fat/gcm-hash.asm b/x86_64/fat/gcm-hash.asm
new file mode 100644
index 00000000..18abc365
--- /dev/null
+++ b/x86_64/fat/gcm-hash.asm
@@ -0,0 +1,39 @@
+C powerpc64/fat/gcm-hash.asm
+
+
+ifelse(`
+ Copyright (C) 2022 Niels Möller
+
+ 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_fat_gcm_init_key)
+dnl PROLOGUE(_nettle_fat_gcm_hash)
+
+define(`fat_transform', `$1_pclmul')
+include_src(`x86_64/pclmul/gcm-hash.asm')