aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/umac128.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/umac128.c')
-rw-r--r--crypto/openssh/umac128.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/crypto/openssh/umac128.c b/crypto/openssh/umac128.c
new file mode 100644
index 000000000000..88b242a6fd5c
--- /dev/null
+++ b/crypto/openssh/umac128.c
@@ -0,0 +1,18 @@
+/* $OpenBSD: umac128.c,v 1.2 2018/02/08 04:12:32 dtucker Exp $ */
+/* $FreeBSD$ */
+
+/* undo ssh_namespace.h munging */
+#undef umac_new
+#undef umac_update
+#undef umac_final
+#undef umac_delete
+#undef umac_ctx
+
+#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
+#define umac_ctx umac128_ctx
+
+#include "umac.c"