diff options
| author | tb <> | 2021-04-21 20:15:08 +0000 |
|---|---|---|
| committer | tb <> | 2021-04-21 20:15:08 +0000 |
| commit | 495d50d5e2181dc8a32391623733cdaaf4e09f45 (patch) | |
| tree | 3e6a90bbad7d3fe8b7a82f91f8aa41af1d7e094c /src/regress/lib/libcrypto/ec/Makefile | |
| parent | c0fa404c22925c9af0bc614df8099126ce54eee8 (diff) | |
| download | openbsd-495d50d5e2181dc8a32391623733cdaaf4e09f45.tar.gz openbsd-495d50d5e2181dc8a32391623733cdaaf4e09f45.tar.bz2 openbsd-495d50d5e2181dc8a32391623733cdaaf4e09f45.zip | |
Add a test that roundtrips a bunch of points on all builtin curves
via point2oct and oct2point and that checks the corner case in hybrid
encoding that was fixed in ec2_oct.c r1.13.
Diffstat (limited to 'src/regress/lib/libcrypto/ec/Makefile')
| -rw-r--r-- | src/regress/lib/libcrypto/ec/Makefile | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/src/regress/lib/libcrypto/ec/Makefile b/src/regress/lib/libcrypto/ec/Makefile index 76b552fa23..394ac51226 100644 --- a/src/regress/lib/libcrypto/ec/Makefile +++ b/src/regress/lib/libcrypto/ec/Makefile | |||
| @@ -1,9 +1,22 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.4 2021/04/20 17:09:45 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.5 2021/04/21 20:15:08 tb Exp $ |
| 2 | 2 | ||
| 3 | PROG= ectest | 3 | PROGS += ectest |
| 4 | LDADD= ${CRYPTO_INT} | 4 | PROGS += ec_point_conversion |
| 5 | DPADD= ${LIBCRYPTO} | 5 | |
| 6 | WARNINGS= Yes | 6 | .for t in ${PROGS} |
| 7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror | 7 | REGRESS_TARGETS += run-$t |
| 8 | .endfor | ||
| 9 | |||
| 10 | LDADD = ${CRYPTO_INT} | ||
| 11 | DPADD = ${LIBCRYPTO} | ||
| 12 | WARNINGS = Yes | ||
| 13 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Wundef -Werror | ||
| 14 | |||
| 15 | CLEANFILES += ${PROGS} | ||
| 16 | |||
| 17 | .for t in ${PROGS} | ||
| 18 | run-$t: $t | ||
| 19 | ./$t | ||
| 20 | .endfor | ||
| 8 | 21 | ||
| 9 | .include <bsd.regress.mk> | 22 | .include <bsd.regress.mk> |
