summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/lib
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2012-10-04 13:21:51 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2012-10-04 13:21:51 +0000
commit7c324e9ea63a12dacd00bf7dc1608165c5b601aa (patch)
tree5d60e97875465a8a5a1cf34295310e42258552d5 /usr.bin/ssh/lib
parent6573209291d93ea765708d799c08a5a75a49dfb4 (diff)
add umac128 variant; ok djm@ at n2k12
Diffstat (limited to 'usr.bin/ssh/lib')
-rw-r--r--usr.bin/ssh/lib/Makefile13
1 files changed, 12 insertions, 1 deletions
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