Lines Matching refs:algorithm
70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, in Pack() argument
81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); in Pack()
91 privkey = PrivateKeyReadPem(infile, algorithm); in Pack()
119 printf("Algorithm: %" PRIu64 " %s\n", pubkey->algorithm, in Unpack()
120 (pubkey->algorithm < kNumAlgorithms ? in Unpack()
121 algo_strings[pubkey->algorithm] : "(invalid)")); in Unpack()
142 privkey->algorithm, in Unpack()
143 (privkey->algorithm < in Unpack()
145 algorithm] : in Unpack()
172 uint64_t algorithm = kNumAlgorithms; in do_vbutil_key() local
197 algorithm = strtoul(optarg, &e, 0); in do_vbutil_key()
227 return Pack(infile, outfile, algorithm, version); in do_vbutil_key()