summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/gcm128
diff options
context:
space:
mode:
authormiod <>2014-04-17 18:33:22 +0000
committermiod <>2014-04-17 18:33:22 +0000
commit4e69a4929c85c995c1bf1bfd11b1aeb9947d7b85 (patch)
treedabb371884b41d40a8af813c2de83e843a93a723 /src/regress/lib/libcrypto/gcm128
parent6b39fdab5868da712ead9164b4680bd7a7d86773 (diff)
downloadopenbsd-4e69a4929c85c995c1bf1bfd11b1aeb9947d7b85.tar.gz
openbsd-4e69a4929c85c995c1bf1bfd11b1aeb9947d7b85.tar.bz2
openbsd-4e69a4929c85c995c1bf1bfd11b1aeb9947d7b85.zip
crypto/modes/gcm128.c can be used as its own selftest. Add it to regress,
conveniently leaving the benchmark code not compiled in the test.
Diffstat (limited to 'src/regress/lib/libcrypto/gcm128')
-rw-r--r--src/regress/lib/libcrypto/gcm128/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/gcm128/Makefile b/src/regress/lib/libcrypto/gcm128/Makefile
new file mode 100644
index 0000000000..7583403ad3
--- /dev/null
+++ b/src/regress/lib/libcrypto/gcm128/Makefile
@@ -0,0 +1,12 @@
1# $OpenBSD: Makefile,v 1.1 2014/04/17 18:33:22 miod Exp $
2
3PROG= gcm128
4SRC= ${.CURDIR}/../../../../lib/libssl/src/crypto/modes
5CFLAGS+= -DSELFTEST
6CFLAGS+= -I${SRC}
7.PATH: ${SRC}
8
9LDADD= -lcrypto
10DPADD= ${LIBCRYPTO}
11
12.include <bsd.regress.mk>