regression test for libcrypto.

This commit is contained in:
itojun 2000-10-03 15:13:21 +00:00
parent 16ad58a09c
commit 35acecee2a
30 changed files with 410 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.6 2000/07/06 22:35:57 mjl Exp $ # $NetBSD: Makefile,v 1.7 2000/10/03 15:13:21 itojun Exp $
SUBDIR+= libc libposix libskey SUBDIR+= libc libcrypto libposix libskey
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:22 itojun Exp $
.include <bsd.own.mk>
SUBDIR+=bf bn cast des dh dsa hmac lhash md2 md5 mdc2 rand rc2 \
rc4 ripemd rsa sha sha1 x509v3
#SUBDIR+=conf threads
.if ${MKCRYPTO_IDEA} == "yes"
SUBDIR+=idea
.endif
.if ${MKCRYPTO_RC5} == "yes"
SUBDIR+=rc5
.endif
.include <bsd.subdir.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 2000/10/03 15:13:22 itojun Exp $
CRYPTODIST=${.CURDIR}/../../../../crypto/dist/openssl/crypto

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:22 itojun Exp $
PROG= bftest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/bf

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:22 itojun Exp $
.include <bsd.own.mk>
SUBDIR=bn div exp
.include <bsd.subdir.mk>

View File

@ -0,0 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 2000/10/03 15:13:22 itojun Exp $
CRYPTODIST=${.CURDIR}/../../../../../crypto/dist/openssl/crypto
.PATH: ${CRYPTODIST}/bn

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:22 itojun Exp $
PROG= bntest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= divtest
NOMAN= yes
CFLAGS+= -g
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG} 1000
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= exptest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= casttest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/cast

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= conftest
SRCS= test.c
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/conf

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= destest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/des

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:23 itojun Exp $
PROG= dhtest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/dh

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= dsatest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/dsa

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= hmactest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/hmac

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= ideatest
NOMAN= yes
LDADD+= -lcrypto_idea -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/idea

View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= lhashtest
SRCS= lh_test.c
NOMAN= yes
CPPFLAGS+=-DMalloc=malloc
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@echo hoge | ${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/lhash

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= md2test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/md2

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:24 itojun Exp $
PROG= md5test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/md5

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:25 itojun Exp $
PROG= mdc2test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/mdc2

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:25 itojun Exp $
PROG= randtest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/rand

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:25 itojun Exp $
PROG= rc2test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/rc2

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:25 itojun Exp $
PROG= rc4test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/rc4

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:26 itojun Exp $
PROG= rc5test
NOMAN= yes
LDADD+= -lcrypto_rc5 -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/rc5

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:26 itojun Exp $
PROG= ripemdtest
SRCS= rmdtest.c
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/ripemd

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:26 itojun Exp $
PROG= rsatest
SRCS= rsa_test.c
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/rsa

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:26 itojun Exp $
PROG= shatest
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/sha

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:27 itojun Exp $
PROG= sha1test
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/sha

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:27 itojun Exp $
PROG= threadstest
SRCS= mttest.c
NOMAN= yes
LDADD+= -lssl -lcrypto
DPADD+= ${LIBSSL} ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/threads

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2000/10/03 15:13:27 itojun Exp $
PROG= x509v3test
SRCS= tabtest.c
NOMAN= yes
LDADD+= -lcrypto
DPADD+= ${LIBSSL} ${LIBCRYPTO}
regress: ${PROG}
@echo "==> running ${PROG}"
@${.OBJDIR}/${PROG}
.include <bsd.prog.mk>
.PATH: ${CRYPTODIST}/x509v3