regress test for sys/crypto assembly code

This commit is contained in:
itojun 2002-02-27 02:21:08 +00:00
parent 929d489997
commit 1127b80dd3
3 changed files with 32 additions and 1 deletions

View File

@ -1,7 +1,10 @@
# $NetBSD: Makefile,v 1.2 2000/11/08 06:02:01 itojun Exp $
# $NetBSD: Makefile,v 1.3 2002/02/27 02:21:08 itojun Exp $
# $KAME: Makefile,v 1.4 2000/11/01 14:55:39 itojun Exp $
SUBDIR= des blowfish cast128 rijndael
.if ${MACHINE_ARCH} == "i386"
SUBDIR+= des_asm blowfish_asm
.endif
TARGETS+= benchmark
.PHONY: benchmark

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2002/02/27 02:21:08 itojun Exp $
# $KAME: Makefile,v 1.5 2000/11/08 05:58:24 itojun Exp $
PROG= bftest
SRCS= bftest.c bf_enc.S bf_skey.c
NOMAN= # defined
.include "../Makefile.inc"
.include <bsd.own.mk>
CPPFLAGS+= -I${SYSDIR} -I${SYSDIR}/arch
.PATH: ${.CURDIR}/../blowfish ${SYSDIR}/crypto/blowfish ${SYSDIR}/crypto/blowfish/arch/${MACHINE_ARCH}
.include <bsd.prog.mk>

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2002/02/27 02:21:08 itojun Exp $
# $KAME: Makefile,v 1.5 2000/11/08 05:58:25 itojun Exp $
PROG= destest
SRCS= destest.c des_ecb.c des_enc.S des_setkey.c
NOMAN= # defined
.include "../Makefile.inc"
.include <bsd.own.mk>
CPPFLAGS+= -I${SYSDIR} -I${SYSDIR}/arch
.PATH: ${.CURDIR}/../des ${SYSDIR}/crypto/des ${SYSDIR}/crypto/des/arch/${MACHINE_ARCH}
.include <bsd.prog.mk>