From 7c324e9ea63a12dacd00bf7dc1608165c5b601aa Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Thu, 4 Oct 2012 13:21:51 +0000 Subject: add umac128 variant; ok djm@ at n2k12 --- usr.bin/ssh/lib/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh/lib') diff --git a/usr.bin/ssh/lib/Makefile b/usr.bin/ssh/lib/Makefile index c2fd064ddd9..35c1edc6f48 100644 --- a/usr.bin/ssh/lib/Makefile +++ b/usr.bin/ssh/lib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.64 2012/08/02 13:38:39 okan Exp $ +# $OpenBSD: Makefile,v 1.65 2012/10/04 13:21:50 markus Exp $ .PATH: ${.CURDIR}/.. .include "${.CURDIR}/../Makefile.inc" @@ -14,6 +14,17 @@ SRCS= authfd.c authfile.c bufaux.c bufec.c bufbn.c buffer.c canohost.c \ kexdhc.c kexgexc.c kexecdhc.c msg.c progressmeter.c dns.c \ monitor_fdpass.c umac.c addrmatch.c schnorr.c jpake.c ssh-pkcs11.c +SRCS+= umac128.c +CLEANFILES+= umac128.c +umac128.c: umac.c Makefile + sed \ + -e "s/^#define UMAC_OUTPUT_LEN 8/#define UMAC_OUTPUT_LEN 16/" \ + -e s/umac_new/umac128_new/g \ + -e s/umac_update/umac128_update/g \ + -e s/umac_final/umac128_final/g \ + -e s/umac_delete/umac128_delete/g \ + < ${.CURDIR}/../umac.c > ${.TARGET} + DEBUGLIBS= no NOPROFILE= yes NOPIC= yes -- cgit v1.2.3