Lines Matching refs:mcount

60 #define	CURMECH		mechs[mcount]
159 int mcount, ccount = 0; in encryptkeys() local
162 for (mcount = 0; CURMECH; mcount++) { in encryptkeys()
165 if (!xencrypt_g(slist[mcount], CURMECH->keylen, in encryptkeys()
172 clist[mcount] = crypt; in encryptkeys()
204 int mcount; in initkeylist() local
208 for (mcount = 0; CURMECH; mcount++) in initkeylist()
211 mcount = 1; in initkeylist()
213 if (!(plist = (char **)malloc(sizeof (char *) * mcount))) { in initkeylist()
217 if (!(slist = (char **)malloc(sizeof (char *) * mcount))) { in initkeylist()
221 if (!(clist = (char **)malloc(sizeof (char *) * mcount))) { in initkeylist()
232 int mcount; in getpublics() local
236 for (mcount = 0; CURMECH; mcount++) { in getpublics()
259 plist[mcount] = public; in getpublics()
293 int mcount; in makenewkeys() local
296 for (mcount = 0; CURMECH; mcount++) { in makenewkeys()
300 if (slist[mcount]) in makenewkeys()
301 free(slist[mcount]); in makenewkeys()
329 plist[mcount] = public; in makenewkeys()
330 slist[mcount] = secret; in makenewkeys()
488 int mcount, scount = 0; in getsecrets() local
494 for (mcount = 0; CURMECH; mcount++) { in getsecrets()
564 slist[mcount] = secret; in getsecrets()
658 int mcount; in keylogin() local
661 for (mcount = 0; CURMECH; mcount++) { in keylogin()
664 if (key_setnet_g(netname, slist[mcount], in keylogin()
843 int mcount, ucount = 0; in storekeys() local
879 for (mcount = 0; CURMECH; mcount++) { in storekeys()
882 if (!plist[mcount] && !clist[mcount]) in storekeys()
895 plist[mcount], clist[mcount], in storekeys()
901 plist[mcount], clist[mcount], in storekeys()
1036 int c, mcount; in main() local
1129 int mcount; in main() local
1131 for (mcount = 0; CURMECH; mcount++) { in main()
1136 slist[mcount]) { in main()
1139 write_rootkey(slist[mcount], in main()
1226 for (mcount = 0; CURMECH; mcount++) { in main()
1227 if (!slist[mcount]) in main()
1229 write_rootkey(slist[mcount], in main()
1240 for (mcount = 0; CURMECH; mcount++) in main()