aboutsummaryrefslogtreecommitdiffstats
path: root/umac128.c
diff options
context:
space:
mode:
authornaddy@openbsd.org <naddy@openbsd.org>2017-12-12 15:06:12 +0000
committerDamien Miller <djm@mindrot.org>2017-12-19 15:17:38 +1100
commit012e5cb839faf76549e3b6101b192fe1a74d367e (patch)
tree8144e791fb9e1fc015b29504aaa268f98184149d /umac128.c
parentb35addfb4cd3b5cdb56a2a489d38e940ada926c7 (diff)
downloadplatform_external_openssh-012e5cb839faf76549e3b6101b192fe1a74d367e.tar.gz
platform_external_openssh-012e5cb839faf76549e3b6101b192fe1a74d367e.tar.bz2
platform_external_openssh-012e5cb839faf76549e3b6101b192fe1a74d367e.zip
upstream commit
Create a persistent umac128.c source file: #define the output size and the name of the entry points for UMAC-128 before including umac.c. Idea from FreeBSD. ok dtucker@ OpenBSD-Commit-ID: 463cfacfa07cb8060a4d4961e63dca307bf3f4b1
Diffstat (limited to 'umac128.c')
-rw-r--r--umac128.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/umac128.c b/umac128.c
new file mode 100644
index 00000000..af3bd9d3
--- /dev/null
+++ b/umac128.c
@@ -0,0 +1,9 @@
+/* $OpenBSD: umac128.c,v 1.1 2017/12/12 15:06:12 naddy Exp $ */
+
+#define UMAC_OUTPUT_LEN 16
+#define umac_new umac128_new
+#define umac_update umac128_update
+#define umac_final umac128_final
+#define umac_delete umac128_delete
+
+#include "umac.c"