Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-04-17 21:04:19 +0300
committerRichard Levitte <levitte@openssl.org>2015-09-07 17:10:57 +0300
commit894025c6428e7a78fb251e7a16522c3b7351f357 (patch)
treed33543261ebd6d2d3eda117b0c60342cf2f18b59 /test
parentf3356b7f49823ddf31683667dfd376312b0a92a3 (diff)
Add recipes for individual block ciphers, stream ciphers and digests
These recipes all correspond to a compiled test program. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/recipes/05-test_bf.t12
-rw-r--r--test/recipes/05-test_cast.t12
-rw-r--r--test/recipes/05-test_des.t12
-rw-r--r--test/recipes/05-test_hmac.t12
-rw-r--r--test/recipes/05-test_idea.t12
-rw-r--r--test/recipes/05-test_md2.t12
-rw-r--r--test/recipes/05-test_md4.t12
-rw-r--r--test/recipes/05-test_md5.t12
-rw-r--r--test/recipes/05-test_mdc2.t12
-rw-r--r--test/recipes/05-test_rand.t12
-rw-r--r--test/recipes/05-test_rc2.t12
-rw-r--r--test/recipes/05-test_rc4.t12
-rw-r--r--test/recipes/05-test_rc5.t12
-rw-r--r--test/recipes/05-test_rmd.t12
-rw-r--r--test/recipes/05-test_sha1.t12
-rw-r--r--test/recipes/05-test_sha256.t12
-rw-r--r--test/recipes/05-test_sha512.t12
-rw-r--r--test/recipes/05-test_wp.t12
18 files changed, 216 insertions, 0 deletions
diff --git a/test/recipes/05-test_bf.t b/test/recipes/05-test_bf.t
new file mode 100644
index 0000000000..70e0d28bf1
--- /dev/null
+++ b/test/recipes/05-test_bf.t
@@ -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
index 0000000000..ffb5645af8
--- /dev/null
+++ b/test/recipes/05-test_cast.t
@@ -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
index 0000000000..6c293e822d
--- /dev/null
+++ b/test/recipes/05-test_des.t
@@ -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
index 0000000000..17fdf77aa8
--- /dev/null
+++ b/test/recipes/05-test_hmac.t
@@ -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
index 0000000000..923c1e1e16
--- /dev/null
+++ b/test/recipes/05-test_idea.t
@@ -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
index 0000000000..4b942aea56
--- /dev/null
+++ b/test/recipes/05-test_md2.t
@@ -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
index 0000000000..d5334e1d02
--- /dev/null
+++ b/test/recipes/05-test_md4.t
@@ -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
index 0000000000..4ac49ffb0f
--- /dev/null
+++ b/test/recipes/05-test_md5.t
@@ -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
index 0000000000..4ba049aed0
--- /dev/null
+++ b/test/recipes/05-test_mdc2.t
@@ -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
index 0000000000..220ee86265
--- /dev/null
+++ b/test/recipes/05-test_rand.t
@@ -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
index 0000000000..056067faed
--- /dev/null
+++ b/test/recipes/05-test_rc2.t
@@ -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
index 0000000000..a789fe0532
--- /dev/null
+++ b/test/recipes/05-test_rc4.t
@@ -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
index 0000000000..6e90937cb4
--- /dev/null
+++ b/test/recipes/05-test_rc5.t
@@ -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
index 0000000000..3915cd42f9
--- /dev/null
+++ b/test/recipes/05-test_rmd.t
@@ -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
index 0000000000..8f7d2fca93
--- /dev/null
+++ b/test/recipes/05-test_sha1.t
@@ -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
index 0000000000..65088324df
--- /dev/null
+++ b/test/recipes/05-test_sha256.t
@@ -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
index 0000000000..9c9bc18b4d
--- /dev/null
+++ b/test/recipes/05-test_sha512.t
@@ -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
index 0000000000..9645670a26
--- /dev/null
+++ b/test/recipes/05-test_wp.t
@@ -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");