summaryrefslogtreecommitdiff
path: root/ghash-update.c
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 /ghash-update.c
parentab62f731a84ad0a3252ee038353ab4154a134160 (diff)
downloadnettle-9939f86687ff8cd9109c5865c9ca48106ad1ae62.tar.gz
arm64: Update fat setup for new ghash organization.
Diffstat (limited to 'ghash-update.c')
-rw-r--r--ghash-update.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ghash-update.c b/ghash-update.c
index b960bcda..6eb19d80 100644
--- a/ghash-update.c
+++ b/ghash-update.c
@@ -48,6 +48,14 @@
# error Unsupported table size.
#endif
+/* For fat builds */
+#if HAVE_NATIVE_ghash_update
+const uint8_t *
+_nettle_ghash_update_c (const struct gcm_key *ctx, union nettle_block16 *state,
+ size_t blocks, const uint8_t *data);
+#define _nettle_ghash_update _nettle_ghash_update_c
+
+#endif
#if WORDS_BIGENDIAN
# define W(left,right) (0x##left##right)
#else