diff options
author | miod <> | 2014-04-17 18:33:22 +0000 |
---|---|---|
committer | miod <> | 2014-04-17 18:33:22 +0000 |
commit | 4e69a4929c85c995c1bf1bfd11b1aeb9947d7b85 (patch) | |
tree | dabb371884b41d40a8af813c2de83e843a93a723 /src/regress/lib/libcrypto/gcm128 | |
parent | 6b39fdab5868da712ead9164b4680bd7a7d86773 (diff) | |
download | openbsd-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/Makefile | 12 |
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 | |||
3 | PROG= gcm128 | ||
4 | SRC= ${.CURDIR}/../../../../lib/libssl/src/crypto/modes | ||
5 | CFLAGS+= -DSELFTEST | ||
6 | CFLAGS+= -I${SRC} | ||
7 | .PATH: ${SRC} | ||
8 | |||
9 | LDADD= -lcrypto | ||
10 | DPADD= ${LIBCRYPTO} | ||
11 | |||
12 | .include <bsd.regress.mk> | ||