Lines Matching refs:infile
70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, in Pack() argument
76 if (!infile || !outfile) { in Pack()
81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); in Pack()
91 privkey = PrivateKeyReadPem(infile, algorithm); in Pack()
101 VbExError("Unable to parse either .keyb or .pem from %s\n", infile); in Pack()
106 static int Unpack(const char *infile, const char *outfile) in Unpack() argument
111 if (!infile) { in Unpack()
116 pubkey = PublicKeyRead(infile); in Unpack()
118 printf("Public Key file: %s\n", infile); in Unpack()
138 privkey = PrivateKeyRead(infile); in Unpack()
140 printf("Private Key file: %s\n", infile); in Unpack()
160 infile); in Unpack()
167 char *infile = NULL; in do_vbutil_key() local
185 infile = optarg; in do_vbutil_key()
211 infile = optarg; in do_vbutil_key()
227 return Pack(infile, outfile, algorithm, version); in do_vbutil_key()
229 return Unpack(infile, outfile); in do_vbutil_key()