Lines Matching refs:outfile
70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, in Pack() argument
76 if (!infile || !outfile) { in Pack()
83 if (0 != PublicKeyWrite(outfile, pubkey)) { in Pack()
93 if (0 != PrivateKeyWrite(outfile, privkey)) { in Pack()
106 static int Unpack(const char *infile, const char *outfile) in Unpack() argument
126 if (outfile) { in Unpack()
127 if (0 != PublicKeyWrite(outfile, pubkey)) { in Unpack()
147 if (outfile) { in Unpack()
148 if (0 != PrivateKeyWrite(outfile, privkey)) { in Unpack()
168 char *outfile = NULL; in do_vbutil_key() local
206 outfile = optarg; in do_vbutil_key()
215 outfile = 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()