summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/sha2
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2018-11-07 01:08:50 +0000
committercvs2svn <admin@example.com>2018-11-07 01:08:50 +0000
commit2035faf3f8aa95b888d9416c3cc7328c0ea18beb (patch)
treef08a08d357c5d30455c569890f747c1d9b241316 /src/regress/lib/libcrypto/sha2
parentbe03b61c1b8f59ccdd34dbe5f6c6b30de697d28b (diff)
downloadopenbsd-bluhm_20181106.tar.gz
openbsd-bluhm_20181106.tar.bz2
openbsd-bluhm_20181106.zip
This commit was manufactured by cvs2git to create tag 'bluhm_20181106'.bluhm_20181106
Diffstat (limited to 'src/regress/lib/libcrypto/sha2')
-rw-r--r--src/regress/lib/libcrypto/sha2/Makefile42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/regress/lib/libcrypto/sha2/Makefile b/src/regress/lib/libcrypto/sha2/Makefile
deleted file mode 100644
index e7bccf5f24..0000000000
--- a/src/regress/lib/libcrypto/sha2/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
1# $OpenBSD: Makefile,v 1.3 2015/09/29 01:07:56 doug Exp $
2
3REGRESS_TARGETS=regress-sha2
4OPENSSL=/usr/bin/openssl
5
6HASHES= \
7 sha224 \
8 abc \
9 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 \
10 sha224 \
11 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq \
12 75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525 \
13 sha256 \
14 abc \
15 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad \
16 sha256 \
17 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq \
18 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 \
19 sha384 \
20 abc \
21 cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7 \
22 sha384 \
23 abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu \
24 09330c33f71147e83d192fc782cd1b4753111b173b3b05d22fa08086e3b0f712fcc7c71a557e2db966c3e9fa91746039 \
25 sha512 \
26 abc \
27 ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f \
28 sha512 \
29 abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu \
30 8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909
31
32regress-sha2:
33.for hash input output in ${HASHES}
34 @(echo -n ${input} | ${OPENSSL} ${hash} | (read a b; \
35 test $$b == ${output} || \
36 (echo wrong ${hash} hash of \"${input}\"; \
37 echo expected: ${output}; \
38 echo computed: $$b; \
39 false)))
40.endfor
41
42.include <bsd.regress.mk>