Lines Matching refs:privkey
74 VbPrivateKey *privkey; in Pack() local
91 privkey = PrivateKeyReadPem(infile, algorithm); in Pack()
92 if (privkey) { in Pack()
93 if (0 != PrivateKeyWrite(outfile, privkey)) { in Pack()
97 free(privkey); in Pack()
109 VbPrivateKey *privkey; in Unpack() local
138 privkey = PrivateKeyRead(infile); in Unpack()
139 if (privkey) { in Unpack()
142 privkey->algorithm, in Unpack()
143 (privkey->algorithm < in Unpack()
144 kNumAlgorithms ? algo_strings[privkey-> in Unpack()
148 if (0 != PrivateKeyWrite(outfile, privkey)) { in Unpack()
151 free(privkey); in Unpack()
155 free(privkey); in Unpack()