PRINTUSAGE("",	"", "[-w wordsize] [-p repetitions]");
PRINTUSAGE("",	"", "[-w wordsize] [-p repetitions | -5 time_interval]"); PRINTUSAGE("",	"", "[-4 th_num]");
static void Usage(){#define PRINTUSAGE(subject, option, predicate) \    fprintf(stderr, "%10s %s\t%s\n", subject, option, predicate);    fprintf(stderr, "\n");    PRINTUSAGE(progName, "[-DEHSV]", "List available cipher modes"); /* XXX */    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-E -m mode ", "Encrypt a buffer");    PRINTUSAGE("",	"", "[-i plaintext] [-o ciphertext] [-k key] [-v iv]");    PRINTUSAGE("",	"", "[-b bufsize] [-g keysize] [-e exp] [-r rounds]");    PRINTUSAGE("",	"", "[-w wordsize] [-p repetitions]");    PRINTUSAGE("",	"-m", "cipher mode to use");    PRINTUSAGE("",	"-i", "file which contains input buffer");    PRINTUSAGE("",	"-o", "file for output buffer");    PRINTUSAGE("",	"-k", "file which contains key");    PRINTUSAGE("",	"-v", "file which contains initialization vector");    PRINTUSAGE("",	"-b", "size of input buffer");    PRINTUSAGE("",	"-g", "key size (in bytes)");    PRINTUSAGE("",	"-p", "do performance test");    PRINTUSAGE("(rsa)", "-e", "rsa public exponent");    PRINTUSAGE("(rc5)", "-r", "number of rounds");    PRINTUSAGE("(rc5)", "-w", "wordsize (32 or 64)");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-D -m mode", "Decrypt a buffer");    PRINTUSAGE("",	"", "[-i plaintext] [-o ciphertext] [-k key] [-v iv]");    PRINTUSAGE("",	"", "[-p repetitions]");    PRINTUSAGE("",	"-m", "cipher mode to use");    PRINTUSAGE("",	"-i", "file which contains input buffer");    PRINTUSAGE("",	"-o", "file for output buffer");    PRINTUSAGE("",	"-k", "file which contains key");    PRINTUSAGE("",	"-v", "file which contains initialization vector");    PRINTUSAGE("",	"-p", "do performance test");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-H -m mode", "Hash a buffer");    PRINTUSAGE("",	"", "[-i plaintext] [-o hash]");    PRINTUSAGE("",	"", "[-b bufsize]");    PRINTUSAGE("",	"", "[-p repetitions]");    PRINTUSAGE("",	"-m", "cipher mode to use");    PRINTUSAGE("",	"-i", "file which contains input buffer");    PRINTUSAGE("",	"-o", "file for hash");    PRINTUSAGE("",	"-b", "size of input buffer");    PRINTUSAGE("",	"-p", "do performance test");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-S -m mode", "Sign a buffer");    PRINTUSAGE("",	"", "[-i plaintext] [-o signature] [-k key]");    PRINTUSAGE("",	"", "[-b bufsize]");#ifdef NSS_ENABLE_ECC    PRINTUSAGE("",	"", "[-n curvename]");#endif    PRINTUSAGE("",	"", "[-p repetitions]");    PRINTUSAGE("",	"-m", "cipher mode to use");    PRINTUSAGE("",	"-i", "file which contains input buffer");    PRINTUSAGE("",	"-o", "file for signature");    PRINTUSAGE("",	"-k", "file which contains key");#ifdef NSS_ENABLE_ECC    PRINTUSAGE("",	"-n", "name of curve for EC key generation; one of:");    PRINTUSAGE("",  "",   "  sect163k1, nistk163, sect163r1, sect163r2,");    PRINTUSAGE("",  "",   "  nistb163, sect193r1, sect193r2, sect233k1, nistk233,");    PRINTUSAGE("",  "",   "  sect233r1, nistb233, sect239k1, sect283k1, nistk283,");    PRINTUSAGE("",  "",   "  sect283r1, nistb283, sect409k1, nistk409, sect409r1,");    PRINTUSAGE("",  "",   "  nistb409, sect571k1, nistk571, sect571r1, nistb571,");    PRINTUSAGE("",  "",   "  secp169k1, secp160r1, secp160r2, secp192k1, secp192r1,");    PRINTUSAGE("",  "",   "  nistp192, secp224k1, secp224r1, nistp224, secp256k1,");    PRINTUSAGE("",  "",   "  secp256r1, nistp256, secp384r1, nistp384, secp521r1,");    PRINTUSAGE("",  "",   "  nistp521, prime192v1, prime192v2, prime192v3,");    PRINTUSAGE("",  "",   "  prime239v1, prime239v2, prime239v3, c2pnb163v1,");    PRINTUSAGE("",  "",   "  c2pnb163v2, c2pnb163v3, c2pnb176v1, c2tnb191v1,");    PRINTUSAGE("",  "",   "  c2tnb191v2, c2tnb191v3, c2onb191v4, c2onb191v5,");    PRINTUSAGE("",  "",   "  c2pnb208w1, c2tnb239v1, c2tnb239v2, c2tnb239v3,");    PRINTUSAGE("",  "",   "  c2onb239v4, c2onb239v5, c2pnb272w1, c2pnb304w1,");    PRINTUSAGE("",  "",   "  c2tnb359w1, c2pnb368w1, c2tnb431r1, secp112r1,");    PRINTUSAGE("",  "",   "  secp112r2, secp128r1, secp128r2, sect113r1, sect113r2,");    PRINTUSAGE("",  "",   "  sect131r1, sect131r2");#endif    PRINTUSAGE("",	"-p", "do performance test");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-V -m mode", "Verify a signed buffer");    PRINTUSAGE("",	"", "[-i plaintext] [-s signature] [-k key]");    PRINTUSAGE("",	"", "[-p repetitions]");    PRINTUSAGE("",	"-m", "cipher mode to use");    PRINTUSAGE("",	"-i", "file which contains input buffer");    PRINTUSAGE("",	"-s", "file which contains signature of input buffer");    PRINTUSAGE("",	"-k", "file which contains key");    PRINTUSAGE("",	"-p", "do performance test");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-N -m mode -b bufsize",                                             "Create a nonce plaintext and key");    PRINTUSAGE("",      "", "[-g keysize] [-u cxreps]");    PRINTUSAGE("",	"-g", "key size (in bytes)");    PRINTUSAGE("",      "-u", "number of repetitions of context creation");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-F", "Run the FIPS self-test");    fprintf(stderr, "\n");    PRINTUSAGE(progName, "-T [-m mode1,mode2...]", "Run the BLAPI self-test");    fprintf(stderr, "\n");    exit(1);}