• Home
  • Raw
  • Download

Lines Matching refs:iph1

154 gssapi_get_default_name(struct ph1handle *iph1, int remote, gss_name_t *service)  in gssapi_get_default_name()  argument
162 sa = remote ? iph1->remote : iph1->local; in gssapi_get_default_name()
187 gssapi_init(struct ph1handle *iph1) in gssapi_init() argument
203 gssapi_set_state(iph1, gps); in gssapi_init()
205 if (iph1->rmconf->proposal->gssid != NULL) { in gssapi_init()
206 id_token.length = iph1->rmconf->proposal->gssid->l; in gssapi_init()
207 id_token.value = iph1->rmconf->proposal->gssid->v; in gssapi_init()
212 gssapi_free_state(iph1); in gssapi_init()
216 gssapi_get_default_name(iph1, 0, &princ); in gssapi_init()
225 gssapi_free_state(iph1); in gssapi_init()
239 gssapi_free_state(iph1); in gssapi_init()
264 gssapi_free_state(iph1); in gssapi_init()
275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp) in gssapi_get_itoken() argument
283 if (gssapi_get_state(iph1) == NULL && gssapi_init(iph1) < 0) in gssapi_get_itoken()
286 gps = gssapi_get_state(iph1); in gssapi_get_itoken()
292 if (iph1->approval != NULL && iph1->approval->gssid != NULL) { in gssapi_get_itoken()
295 (int)iph1->approval->gssid->l, iph1->approval->gssid->v); in gssapi_get_itoken()
296 name_token.length = iph1->approval->gssid->l; in gssapi_get_itoken()
297 name_token.value = iph1->approval->gssid->v; in gssapi_get_itoken()
306 if (gssapi_get_default_name(iph1, 1, &partner) < 0) in gssapi_get_itoken()
346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp) in gssapi_get_rtoken() argument
354 if (gssapi_get_state(iph1) == NULL && gssapi_init(iph1) < 0) in gssapi_get_rtoken()
357 gps = gssapi_get_state(iph1); in gssapi_get_rtoken()
401 gssapi_save_received_token(struct ph1handle *iph1, vchar_t *token) in gssapi_save_received_token() argument
407 if (gssapi_get_state(iph1) == NULL && gssapi_init(iph1) < 0) in gssapi_save_received_token()
410 gps = gssapi_get_state(iph1); in gssapi_save_received_token()
423 gssapi_get_token_to_send(struct ph1handle *iph1, vchar_t **token) in gssapi_get_token_to_send() argument
429 gps = gssapi_get_state(iph1); in gssapi_get_token_to_send()
444 gssapi_get_itokens(struct ph1handle *iph1, vchar_t **tokens) in gssapi_get_itokens() argument
451 gps = gssapi_get_state(iph1); in gssapi_get_itokens()
479 gssapi_get_rtokens(struct ph1handle *iph1, vchar_t **tokens) in gssapi_get_rtokens() argument
486 gps = gssapi_get_state(iph1); in gssapi_get_rtokens()
493 if (gssapi_more_tokens(iph1)) { in gssapi_get_rtokens()
517 gssapi_wraphash(struct ph1handle *iph1) in gssapi_wraphash() argument
525 gps = gssapi_get_state(iph1); in gssapi_wraphash()
532 if (gssapi_more_tokens(iph1)) { in gssapi_wraphash()
538 if (gssapi_vm2gssbuf(iph1->hash, hash_in) < 0) { in gssapi_wraphash()
577 gssapi_unwraphash(struct ph1handle *iph1) in gssapi_unwraphash() argument
585 gps = gssapi_get_state(iph1); in gssapi_unwraphash()
593 hashbuf.length = ntohs(iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash); in gssapi_unwraphash()
594 hashbuf.value = (char *)(iph1->pl_hash + 1); in gssapi_unwraphash()
622 gssapi_set_id_sent(struct ph1handle *iph1) in gssapi_set_id_sent() argument
626 gps = gssapi_get_state(iph1); in gssapi_set_id_sent()
632 gssapi_id_sent(struct ph1handle *iph1) in gssapi_id_sent() argument
636 gps = gssapi_get_state(iph1); in gssapi_id_sent()
642 gssapi_set_id_rcvd(struct ph1handle *iph1) in gssapi_set_id_rcvd() argument
646 gps = gssapi_get_state(iph1); in gssapi_set_id_rcvd()
652 gssapi_id_rcvd(struct ph1handle *iph1) in gssapi_id_rcvd() argument
656 gps = gssapi_get_state(iph1); in gssapi_id_rcvd()
662 gssapi_free_state(struct ph1handle *iph1) in gssapi_free_state() argument
667 gps = gssapi_get_state(iph1); in gssapi_free_state()
672 gssapi_set_state(iph1, NULL); in gssapi_free_state()
684 gssapi_get_id(struct ph1handle *iph1) in gssapi_get_id() argument
692 if (iph1->rmconf->proposal->gssid != NULL) in gssapi_get_id()
693 return (vdup(iph1->rmconf->proposal->gssid)); in gssapi_get_id()
695 if (gssapi_get_default_name(iph1, 0, &defname) < 0) in gssapi_get_id()