Lines Matching refs:argv
29 main(int argc, char **argv) {
38 fprintf(stderr, "Usage:\t%s algorithm secret\n", argv[0]);
50 result = isc_base64_decodestring(argv[2], &buf);
58 if (!strcasecmp(argv[1], "md5") ||
59 !strcasecmp(argv[1], "hmac-md5")) {
71 if (!strcasecmp(argv[1], "sha1") ||
72 !strcasecmp(argv[1], "hmac-sha1")) {
82 } else if (!strcasecmp(argv[1], "sha224") ||
83 !strcasecmp(argv[1], "hmac-sha224")) {
93 } else if (!strcasecmp(argv[1], "sha256") ||
94 !strcasecmp(argv[1], "hmac-sha256")) {
104 } else if (!strcasecmp(argv[1], "sha384") ||
105 !strcasecmp(argv[1], "hmac-sha384")) {
115 } else if (!strcasecmp(argv[1], "sha512") ||
116 !strcasecmp(argv[1], "hmac-sha512")) {
127 fprintf(stderr, "unknown hmac/digest algorithm: %s\n", argv[1]);