Lines Matching refs:public
80 keybuf public; member
448 cachehit3(keybuf3 *public, keybuf3 *secret, struct cachekey3_list *cp) in cachehit3() argument
450 return (cmpkeybuf3(public, cp->public) && in cachehit3()
924 keybuf3 *secret, *public; in addmasterkey() local
932 if ((public = getkeybuf3(bytelen+1)) == NULL) { in addmasterkey()
943 memset(public->keybuf3_val, 0, bytelen+1); in addmasterkey()
946 tmp.st_pub_key = *public; in addmasterkey()
947 free(public); in addmasterkey()
1154 (memcmp(pub, (list)->public, sizeof (keybuf)) == 0 && \
1194 memcpy(new->public, pub, sizeof (keybuf));
1283 MINT *public; local
1316 public = mp_xtom(xpublic);
1319 if (public == NULL || secret == NULL) {
1324 mp_pow(public, secret, MODULUS, common);
1328 mp_mfree(public);
1363 map_ps2cache(keybuf3 *public, keybuf3 *secret, struct psdata *pdp) in map_ps2cache() argument
1366 int hash = hash_keys3(public, secret); in map_ps2cache()
1370 *cpp != NULL && !(cachehit3(public, secret, *cpp)); in map_ps2cache()
1383 keybuf3 *public, in getdeskey3() argument
1396 keylen, algtype, desarylen, public, secret)); in getdeskey3()
1411 cpp = map_ps2cache(public, secret, pdp); in getdeskey3()
1419 public, cu->key)) != NULL) { in getdeskey3()
1445 if ((cp->public = cpykeybuf3(public)) == NULL) { in getdeskey3()
1458 cp->public, cp->secret, in getdeskey3()
1462 if (!__gen_common_dhkeys_g(public->keybuf3_val, in getdeskey3()
1479 cu->key, public, secret); in getdeskey3()
1646 MINT *public; local
1673 public = mp_xtom(xpublic);
1676 if (public == NULL || secret == NULL) {
1681 mp_pow(public, secret, MODULUS, common);
1686 mp_mfree(public);