summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in7
-rw-r--r--umac.c2
-rw-r--r--umac128.c9
3 files changed, 10 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 25b57987e..4b6dfc477 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -218,13 +218,6 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
218moduli: 218moduli:
219 echo 219 echo
220 220
221# special case target for umac128
222umac128.o: umac.c
223 $(CC) $(CFLAGS) $(CPPFLAGS) -o umac128.o -c $(srcdir)/umac.c \
224 -DUMAC_OUTPUT_LEN=16 -Dumac_new=umac128_new \
225 -Dumac_update=umac128_update -Dumac_final=umac128_final \
226 -Dumac_delete=umac128_delete -Dumac_ctx=umac128_ctx
227
228clean: regressclean 221clean: regressclean
229 rm -f *.o *.a $(TARGETS) logintest config.cache config.log 222 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
230 rm -f *.out core survey 223 rm -f *.out core survey
diff --git a/umac.c b/umac.c
index b6b256a74..eab831072 100644
--- a/umac.c
+++ b/umac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: umac.c,v 1.15 2017/11/28 06:09:38 djm Exp $ */ 1/* $OpenBSD: umac.c,v 1.16 2017/12/12 15:06:12 naddy Exp $ */
2/* ----------------------------------------------------------------------- 2/* -----------------------------------------------------------------------
3 * 3 *
4 * umac.c -- C Implementation UMAC Message Authentication 4 * umac.c -- C Implementation UMAC Message Authentication
diff --git a/umac128.c b/umac128.c
new file mode 100644
index 000000000..af3bd9d3f
--- /dev/null
+++ b/umac128.c
@@ -0,0 +1,9 @@
1/* $OpenBSD: umac128.c,v 1.1 2017/12/12 15:06:12 naddy Exp $ */
2
3#define UMAC_OUTPUT_LEN 16
4#define umac_new umac128_new
5#define umac_update umac128_update
6#define umac_final umac128_final
7#define umac_delete umac128_delete
8
9#include "umac.c"