Lines Matching refs:public

82 	keybuf public;  member
450 cachehit3(keybuf3 *public, keybuf3 *secret, struct cachekey3_list *cp) in cachehit3() argument
452 return (cmpkeybuf3(public, cp->public) && in cachehit3()
926 keybuf3 *secret, *public; in addmasterkey() local
934 if ((public = getkeybuf3(bytelen+1)) == NULL) { in addmasterkey()
945 memset(public->keybuf3_val, 0, bytelen+1); in addmasterkey()
948 tmp.st_pub_key = *public; in addmasterkey()
949 free(public); in addmasterkey()
1156 (memcmp(pub, (list)->public, sizeof (keybuf)) == 0 && \
1196 memcpy(new->public, pub, sizeof (keybuf));
1285 MINT *public; local
1318 public = mp_xtom(xpublic);
1321 if (public == NULL || secret == NULL) {
1326 mp_pow(public, secret, MODULUS, common);
1330 mp_mfree(public);
1365 map_ps2cache(keybuf3 *public, keybuf3 *secret, struct psdata *pdp) in map_ps2cache() argument
1368 int hash = hash_keys3(public, secret); in map_ps2cache()
1372 *cpp != NULL && !(cachehit3(public, secret, *cpp)); in map_ps2cache()
1385 keybuf3 *public, in getdeskey3() argument
1398 keylen, algtype, desarylen, public, secret)); in getdeskey3()
1413 cpp = map_ps2cache(public, secret, pdp); in getdeskey3()
1421 public, cu->key)) != NULL) { in getdeskey3()
1447 if ((cp->public = cpykeybuf3(public)) == NULL) { in getdeskey3()
1460 cp->public, cp->secret, in getdeskey3()
1464 if (!__gen_common_dhkeys_g(public->keybuf3_val, in getdeskey3()
1481 cu->key, public, secret); in getdeskey3()
1648 MINT *public; local
1675 public = mp_xtom(xpublic);
1678 if (public == NULL || secret == NULL) {
1683 mp_pow(public, secret, MODULUS, common);
1688 mp_mfree(public);