summaryrefslogtreecommitdiff
path: root/powerpc64
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-11-26 20:07:07 +0100
committerNiels Möller <nisse@lysator.liu.se>2020-11-26 20:07:07 +0100
commit90c34ebe3ee812ecaee46980597e37b6136ba9e2 (patch)
treef0086d6852c57d2980475007fabe6074367e0fe3 /powerpc64
parent31bbf5342d49aec42c952c2aa2e3054f9b614f60 (diff)
downloadnettle-90c34ebe3ee812ecaee46980597e37b6136ba9e2.tar.gz
ppc: Enable gcm code in fat builds. Based on patch by Mamone Tarsha.
Diffstat (limited to 'powerpc64')
-rw-r--r--powerpc64/fat/gcm-hash.asm39
1 files changed, 39 insertions, 0 deletions
diff --git a/powerpc64/fat/gcm-hash.asm b/powerpc64/fat/gcm-hash.asm
new file mode 100644
index 00000000..57c343d7
--- /dev/null
+++ b/powerpc64/fat/gcm-hash.asm
@@ -0,0 +1,39 @@
+C powerpc64/fat/gcm-hash.asm
+
+
+ifelse(`
+ Copyright (C) 2020 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_fat_gcm_init_key)
+dnl PROLOGUE(_nettle_fat_gcm_hash)
+
+define(`fat_transform', `$1_ppc64')
+include_src(`powerpc64/p8/gcm-hash.asm')