aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/apps.h
blob: 0cb514aca5a36718234f33a13bca4138acb0cb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#include <botan/auto_rng.h>
#include <botan/hex.h>
#include <iostream>

#include "getopt.h"

using namespace Botan;

int unimplemented(int argc, char* argv[], const char* what);

#define UNIMPLEMENTED(main, prob) \
   int main(int argc, char* argv[]) { return unimplemented(argc, argv, prob); }

#define DEFINE_APP(cmd) int cmd ## _main(int argc, char* argv[]);

DEFINE_APP(asn1);
DEFINE_APP(base64);
DEFINE_APP(bcrypt);
DEFINE_APP(bzip);
DEFINE_APP(ca);
DEFINE_APP(cert_verify);
DEFINE_APP(dsa_sign);
DEFINE_APP(dsa_verify);
DEFINE_APP(factor);
DEFINE_APP(fpe);
DEFINE_APP(hash);
DEFINE_APP(keygen);
DEFINE_APP(ocsp_check);
DEFINE_APP(pkcs10);
DEFINE_APP(read_ssh);
DEFINE_APP(rng);
DEFINE_APP(self_sig);
DEFINE_APP(speed);
DEFINE_APP(tls_client);
DEFINE_APP(tls_server);
DEFINE_APP(tls_server_asio);
DEFINE_APP(x509);