aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/apps.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-10 00:08:13 +0000
committerlloyd <[email protected]>2014-01-10 00:08:13 +0000
commit57789bdfc55061002b2727d0b32587612829a37c (patch)
tree99f36631b4ec50c5187a1b0a7c256b99182373ad /src/cmd/apps.h
parent94968c917407a63d888fd3eb4d02491f60de6ebc (diff)
Split up test vectors into per-algo files and app into botan-test for
the tests and botan for everything else.
Diffstat (limited to 'src/cmd/apps.h')
-rw-r--r--src/cmd/apps.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/cmd/apps.h b/src/cmd/apps.h
new file mode 100644
index 000000000..39665a720
--- /dev/null
+++ b/src/cmd/apps.h
@@ -0,0 +1,34 @@
+
+#include <botan/auto_rng.h>
+#include <botan/hex.h>
+#include <iostream>
+
+#include "getopt.h"
+
+using namespace Botan;
+
+int apps_main(const std::string& cmd, int argc, char* argv[]);
+
+#define DEFINE_APP(cmd) int cmd ## _main(int argc, char* argv[]);
+
+DEFINE_APP(asn1);
+DEFINE_APP(bcrypt);
+DEFINE_APP(bzip);
+DEFINE_APP(base64);
+DEFINE_APP(ca);
+DEFINE_APP(factor);
+DEFINE_APP(fpe);
+DEFINE_APP(hash);
+DEFINE_APP(keygen);
+DEFINE_APP(dsa_sign);
+DEFINE_APP(dsa_verify);
+DEFINE_APP(cert_verify);
+DEFINE_APP(ocsp_check);
+DEFINE_APP(pkcs10);
+DEFINE_APP(read_ssh);
+DEFINE_APP(self_sig);
+DEFINE_APP(tls_client);
+DEFINE_APP(tls_server);
+DEFINE_APP(tls_server_asio);
+DEFINE_APP(x509);
+DEFINE_APP(speed);