Home
last modified time | relevance | path

Searched refs:gsstoken (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_ident.c431 vchar_t *gsstoken = NULL; local
472 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
474 gssapi_save_received_token(iph1, gsstoken);
547 if (gsstoken)
548 vfree(gsstoken);
677 vchar_t *gsstoken = NULL; local
727 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
729 gssapi_save_received_token(iph1, gsstoken);
759 if (gsstoken == NULL) {
791 iph1->status = gsstoken != 0 ? PHASE1ST_MSG3RECEIVED :
[all …]
Dgssapi.c109 gssapi_vm2gssbuf(vchar_t *vmbuf, gss_buffer_t gsstoken) in gssapi_vm2gssbuf() argument
112 gsstoken->value = racoon_malloc(vmbuf->l); in gssapi_vm2gssbuf()
113 if (gsstoken->value == NULL) in gssapi_vm2gssbuf()
115 memcpy(gsstoken->value, vmbuf->v, vmbuf->l); in gssapi_vm2gssbuf()
116 gsstoken->length = vmbuf->l; in gssapi_vm2gssbuf()
122 gssapi_gss2vmbuf(gss_buffer_t gsstoken, vchar_t **vmbuf) in gssapi_gss2vmbuf() argument
125 *vmbuf = vmalloc(gsstoken->length); in gssapi_gss2vmbuf()
128 memcpy((*vmbuf)->v, gsstoken->value, gsstoken->length); in gssapi_gss2vmbuf()
129 (*vmbuf)->l = gsstoken->length; in gssapi_gss2vmbuf()
404 gss_buffer_t gsstoken; in gssapi_save_received_token() local
[all …]
Disakmp_agg.c131 vchar_t *gsstoken = NULL; local
249 gssapi_get_token_to_send(iph1, &gsstoken);
250 plist = isakmp_plist_append(plist, gsstoken, ISAKMP_NPTYPE_GSS);
304 if (gsstoken)
305 vfree(gsstoken);
353 vchar_t *gsstoken = NULL; local
435 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
437 gssapi_save_received_token(iph1, gsstoken);
581 if (gsstoken)
582 vfree(gsstoken);
[all …]