Add recipes for individual block ciphers, stream ciphers and digests
authorRichard Levitte <levitte@openssl.org>
Fri, 17 Apr 2015 18:04:19 +0000 (20:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Sep 2015 14:10:57 +0000 (16:10 +0200)
These recipes all correspond to a compiled test program.

Reviewed-by: Rich Salz <rsalz@openssl.org>
18 files changed:
test/recipes/05-test_bf.t [new file with mode: 0644]
test/recipes/05-test_cast.t [new file with mode: 0644]
test/recipes/05-test_des.t [new file with mode: 0644]
test/recipes/05-test_hmac.t [new file with mode: 0644]
test/recipes/05-test_idea.t [new file with mode: 0644]
test/recipes/05-test_md2.t [new file with mode: 0644]
test/recipes/05-test_md4.t [new file with mode: 0644]
test/recipes/05-test_md5.t [new file with mode: 0644]
test/recipes/05-test_mdc2.t [new file with mode: 0644]
test/recipes/05-test_rand.t [new file with mode: 0644]
test/recipes/05-test_rc2.t [new file with mode: 0644]
test/recipes/05-test_rc4.t [new file with mode: 0644]
test/recipes/05-test_rc5.t [new file with mode: 0644]
test/recipes/05-test_rmd.t [new file with mode: 0644]
test/recipes/05-test_sha1.t [new file with mode: 0644]
test/recipes/05-test_sha256.t [new file with mode: 0644]
test/recipes/05-test_sha512.t [new file with mode: 0644]
test/recipes/05-test_wp.t [new file with mode: 0644]

diff --git a/test/recipes/05-test_bf.t b/test/recipes/05-test_bf.t
new file mode 100644 (file)
index 0000000..70e0d28
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_bf");
+
+plan tests => 1;
+ok(run(test(["bftest"])), "running bftest");
diff --git a/test/recipes/05-test_cast.t b/test/recipes/05-test_cast.t
new file mode 100644 (file)
index 0000000..ffb5645
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_cast");
+
+plan tests => 1;
+ok(run(test(["casttest"])), "running casttest");
diff --git a/test/recipes/05-test_des.t b/test/recipes/05-test_des.t
new file mode 100644 (file)
index 0000000..6c293e8
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_des");
+
+plan tests => 1;
+ok(run(test(["destest"])), "running destest");
diff --git a/test/recipes/05-test_hmac.t b/test/recipes/05-test_hmac.t
new file mode 100644 (file)
index 0000000..17fdf77
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_hmac");
+
+plan tests => 1;
+ok(run(test(["hmactest"])), "running hmactest");
diff --git a/test/recipes/05-test_idea.t b/test/recipes/05-test_idea.t
new file mode 100644 (file)
index 0000000..923c1e1
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_idea");
+
+plan tests => 1;
+ok(run(test(["ideatest"])), "running ideatest");
diff --git a/test/recipes/05-test_md2.t b/test/recipes/05-test_md2.t
new file mode 100644 (file)
index 0000000..4b942ae
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_md2");
+
+plan tests => 1;
+ok(run(test(["md2test"])), "running md2test");
diff --git a/test/recipes/05-test_md4.t b/test/recipes/05-test_md4.t
new file mode 100644 (file)
index 0000000..d5334e1
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_md4");
+
+plan tests => 1;
+ok(run(test(["md4test"])), "running md4test");
diff --git a/test/recipes/05-test_md5.t b/test/recipes/05-test_md5.t
new file mode 100644 (file)
index 0000000..4ac49ff
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_md5");
+
+plan tests => 1;
+ok(run(test(["md5test"])), "running md5test");
diff --git a/test/recipes/05-test_mdc2.t b/test/recipes/05-test_mdc2.t
new file mode 100644 (file)
index 0000000..4ba049a
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_mdc2");
+
+plan tests => 1;
+ok(run(test(["mdc2test"])), "running mdc2test");
diff --git a/test/recipes/05-test_rand.t b/test/recipes/05-test_rand.t
new file mode 100644 (file)
index 0000000..220ee86
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_rand");
+
+plan tests => 1;
+ok(run(test(["randtest"])), "running randtest");
diff --git a/test/recipes/05-test_rc2.t b/test/recipes/05-test_rc2.t
new file mode 100644 (file)
index 0000000..056067f
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_rc2");
+
+plan tests => 1;
+ok(run(test(["rc2test"])), "running rc2test");
diff --git a/test/recipes/05-test_rc4.t b/test/recipes/05-test_rc4.t
new file mode 100644 (file)
index 0000000..a789fe0
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_rc4");
+
+plan tests => 1;
+ok(run(test(["rc4test"])), "running rc4test");
diff --git a/test/recipes/05-test_rc5.t b/test/recipes/05-test_rc5.t
new file mode 100644 (file)
index 0000000..6e90937
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_rc5");
+
+plan tests => 1;
+ok(run(test(["rc5test"])), "running rc5test");
diff --git a/test/recipes/05-test_rmd.t b/test/recipes/05-test_rmd.t
new file mode 100644 (file)
index 0000000..3915cd4
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_rmd");
+
+plan tests => 1;
+ok(run(test(["rmdtest"])), "running rmdtest");
diff --git a/test/recipes/05-test_sha1.t b/test/recipes/05-test_sha1.t
new file mode 100644 (file)
index 0000000..8f7d2fc
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_sha1");
+
+plan tests => 1;
+ok(run(test(["sha1test"])), "running sha1test");
diff --git a/test/recipes/05-test_sha256.t b/test/recipes/05-test_sha256.t
new file mode 100644 (file)
index 0000000..6508832
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_sha256");
+
+plan tests => 1;
+ok(run(test(["sha256t"])), "running sha256t");
diff --git a/test/recipes/05-test_sha512.t b/test/recipes/05-test_sha512.t
new file mode 100644 (file)
index 0000000..9c9bc18
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_sha512");
+
+plan tests => 1;
+ok(run(test(["sha512t"])), "running sha512t");
diff --git a/test/recipes/05-test_wp.t b/test/recipes/05-test_wp.t
new file mode 100644 (file)
index 0000000..9645670
--- /dev/null
@@ -0,0 +1,12 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use OpenSSL::Test;
+
+setup("test_wp");
+
+plan tests => 1;
+ok(run(test(["wp_test"])), "running wp_test");