Lines Matching defs:public
84 char **plist = NULL; /* List of public key(s) */
200 /* Initialize the array of public, secret, and encrypted secret keys */
228 /* Retrieve public key(s) */
237 char *public;
241 if (!(public = (char *)malloc(hexkeylen))) {
247 CURMECH->algtype, public,
249 /* Could not get public key */
251 "Could not get %s public key.\n",
254 free(public);
255 public = NULL;
259 plist[mcount] = public;
262 char *public;
264 if (!(public = (char *)malloc(HEXKEYBYTES + 1))) {
268 if (!getpublickey(netname, public)) {
269 free(public);
270 public = NULL;
274 plist[0] = public;
278 fprintf(stderr, "%s: cannot get any public keys for %s.\n",
282 "Make sure that the public keys are stored in the domain %s.\n",
289 /* Generate a new set of public/secret key pair(s) */
297 char *public, *secret;
305 if (!(public = malloc(hexkeylen))) {
316 if (!(__gen_dhkeys_g(public, secret, CURMECH->keylen,
323 free(public);
325 public = NULL;
329 plist[mcount] = public;
333 char *public, *secret;
337 if (!(public = malloc(HEXKEYBYTES + 1))) {
346 __gen_dhkeys(public, secret, short_login_pw);
348 plist[0] = public;
1100 "%s: can not add non-DES public keys to %s, skipping.\n",