mirror of git://anongit.mindrot.org/openssh.git
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
This commit is contained in:
parent
b35addfb4c
commit
012e5cb839
|
@ -218,13 +218,6 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
|
|||
moduli:
|
||||
echo
|
||||
|
||||
# special case target for umac128
|
||||
umac128.o: umac.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o umac128.o -c $(srcdir)/umac.c \
|
||||
-DUMAC_OUTPUT_LEN=16 -Dumac_new=umac128_new \
|
||||
-Dumac_update=umac128_update -Dumac_final=umac128_final \
|
||||
-Dumac_delete=umac128_delete -Dumac_ctx=umac128_ctx
|
||||
|
||||
clean: regressclean
|
||||
rm -f *.o *.a $(TARGETS) logintest config.cache config.log
|
||||
rm -f *.out core survey
|
||||
|
|
2
umac.c
2
umac.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: umac.c,v 1.15 2017/11/28 06:09:38 djm Exp $ */
|
||||
/* $OpenBSD: umac.c,v 1.16 2017/12/12 15:06:12 naddy Exp $ */
|
||||
/* -----------------------------------------------------------------------
|
||||
*
|
||||
* umac.c -- C Implementation UMAC Message Authentication
|
||||
|
|
Loading…
Reference in New Issue