Lines Matching defs:algorithm
34 {"algorithm", 1, 0, OPT_ALGORITHM},
53 " --algorithm <number> "
54 "Signing algorithm to use with key:\n", progname);
70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm,
81 pubkey = PublicKeyReadKeyb(infile, algorithm, version);
91 privkey = PrivateKeyReadPem(infile, algorithm);
119 printf("Algorithm: %" PRIu64 " %s\n", pubkey->algorithm,
120 (pubkey->algorithm < kNumAlgorithms ?
121 algo_strings[pubkey->algorithm] : "(invalid)"));
141 printf("Algorithm: %" PRIu64 " %s\n",
142 privkey->algorithm,
143 (privkey->algorithm <
145 algorithm] :
172 uint64_t algorithm = kNumAlgorithms;
197 algorithm = strtoul(optarg, &e, 0);
199 VbExError("Invalid --algorithm\n");
227 return Pack(infile, outfile, algorithm, version);