Lines Matching refs:kp
165 struct keylenlist *kp; member
174 for (kpp = &mechtable.kp; in getkeylen()
185 struct keylenlist *kp; in appendkeylist() local
188 kp = (struct keylenlist *)malloc(sizeof (*kp)); in appendkeylist()
189 if (kp == NULL) { in appendkeylist()
193 debug(KEYSERV_DEBUG, ("appendkeylist : %x %x %d", kpp, kp, k)); in appendkeylist()
194 kp->keylen = k; in appendkeylist()
195 kp->ap = NULL; in appendkeylist()
196 kp->next = NULL; in appendkeylist()
197 *kpp = kp; in appendkeylist()
301 freekeybuf3(keybuf3 *kp) in freekeybuf3() argument
303 debug(KEYSERV_DEBUG1, ("freekeybuf3 %x", kp)); in freekeybuf3()
304 if (kp == NULL) in freekeybuf3()
306 if (kp->keybuf3_val) { in freekeybuf3()
308 free(kp->keybuf3_val); in freekeybuf3()
310 free(kp); in freekeybuf3()
577 struct keylenlist *kp; in storeotherrootkeys() local
585 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in storeotherrootkeys()
587 ("storeotherrootkeys key %d", kp->keylen)); in storeotherrootkeys()
588 for (ap = kp->ap; ap != NULL; ap = ap->next) { in storeotherrootkeys()
591 if ((secret = getkeybuf3(kp->keylen/4+1)) == NULL) { in storeotherrootkeys()
597 kp->keylen, ap->algtype, in storeotherrootkeys()
613 skey.keylen = kp->keylen; in storeotherrootkeys()
615 if (CLASSIC_PK_DH(kp->keylen, ap->algtype)) { in storeotherrootkeys()
622 if (!CLASSIC_PK_DH(kp->keylen, ap->algtype)) { in storeotherrootkeys()
655 struct keylenlist *kp; in pk_clear3() local
661 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in pk_clear3()
662 debug(KEYSERV_DEBUG0, ("pk_clear3 key %d", kp->keylen)); in pk_clear3()
663 for (ap = kp->ap; ap != NULL; ap = ap->next) { in pk_clear3()
1048 struct keylenlist *kp; in getanycache3() local
1054 for (kp = mechtable.kp; kp != NULL; kp = kp->next) { in getanycache3()
1055 debug(KEYSERV_DEBUG0, ("getanycache3 key %d", kp->keylen)); in getanycache3()
1056 for (ap = kp->ap; ap != NULL; ap = ap->next) { in getanycache3()