From: miod Date: Thu, 17 Apr 2014 18:33:21 +0000 (+0000) Subject: crypto/modes/gcm128.c can be used as its own selftest. Add it to regress, X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=00960baa8d61a631005783eda8dab8bf662d5c96;p=openbsd 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. --- diff --git a/regress/lib/libcrypto/Makefile b/regress/lib/libcrypto/Makefile index 02734e992e0..46e867b81da 100644 --- a/regress/lib/libcrypto/Makefile +++ b/regress/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2014/04/17 07:52:08 jsg Exp $ +# $OpenBSD: Makefile,v 1.3 2014/04/17 18:33:21 miod Exp $ SUBDIR= \ bf \ @@ -13,6 +13,7 @@ SUBDIR= \ engine \ evp \ exp \ + gcm128 \ hmac \ idea \ ige \ diff --git a/regress/lib/libcrypto/gcm128/Makefile b/regress/lib/libcrypto/gcm128/Makefile new file mode 100644 index 00000000000..7583403ad3c --- /dev/null +++ b/regress/lib/libcrypto/gcm128/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 2014/04/17 18:33:22 miod Exp $ + +PROG= gcm128 +SRC= ${.CURDIR}/../../../../lib/libssl/src/crypto/modes +CFLAGS+= -DSELFTEST +CFLAGS+= -I${SRC} +.PATH: ${SRC} + +LDADD= -lcrypto +DPADD= ${LIBCRYPTO} + +.include