Lines Matching refs:kp

163 	struct keylenlist *kp;  member
172 for (kpp = &mechtable.kp; in getkeylen()
183 struct keylenlist *kp; in appendkeylist() local
186 kp = (struct keylenlist *)malloc(sizeof (*kp)); in appendkeylist()
187 if (kp == NULL) { in appendkeylist()
191 debug(KEYSERV_DEBUG, ("appendkeylist : %x %x %d", kpp, kp, k)); in appendkeylist()
192 kp->keylen = k; in appendkeylist()
193 kp->ap = NULL; in appendkeylist()
194 kp->next = NULL; in appendkeylist()
195 *kpp = kp; in appendkeylist()
299 freekeybuf3(keybuf3 *kp) in freekeybuf3() argument
301 debug(KEYSERV_DEBUG1, ("freekeybuf3 %x", kp)); in freekeybuf3()
302 if (kp == NULL) in freekeybuf3()
304 if (kp->keybuf3_val) { in freekeybuf3()
306 free(kp->keybuf3_val); in freekeybuf3()
308 free(kp); in freekeybuf3()
575 struct keylenlist *kp; in storeotherrootkeys() local
583 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in storeotherrootkeys()
585 ("storeotherrootkeys key %d", kp->keylen)); in storeotherrootkeys()
586 for (ap = kp->ap; ap != NULL; ap = ap->next) { in storeotherrootkeys()
589 if ((secret = getkeybuf3(kp->keylen/4+1)) == NULL) { in storeotherrootkeys()
595 kp->keylen, ap->algtype, in storeotherrootkeys()
611 skey.keylen = kp->keylen; in storeotherrootkeys()
613 if (CLASSIC_PK_DH(kp->keylen, ap->algtype)) { in storeotherrootkeys()
620 if (!CLASSIC_PK_DH(kp->keylen, ap->algtype)) { in storeotherrootkeys()
653 struct keylenlist *kp; in pk_clear3() local
659 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in pk_clear3()
660 debug(KEYSERV_DEBUG0, ("pk_clear3 key %d", kp->keylen)); in pk_clear3()
661 for (ap = kp->ap; ap != NULL; ap = ap->next) { in pk_clear3()
1046 struct keylenlist *kp; in getanycache3() local
1052 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in getanycache3()
1053 debug(KEYSERV_DEBUG0, ("getanycache3 key %d", kp->keylen)); in getanycache3()
1054 for (ap = kp->ap; ap != NULL; ap = ap->next) { in getanycache3()