Lines Matching refs:gsstoken
109 gssapi_vm2gssbuf(vchar_t *vmbuf, gss_buffer_t gsstoken)
112 gsstoken->value = racoon_malloc(vmbuf->l);
113 if (gsstoken->value == NULL)
115 memcpy(gsstoken->value, vmbuf->v, vmbuf->l);
116 gsstoken->length = vmbuf->l;
122 gssapi_gss2vmbuf(gss_buffer_t gsstoken, vchar_t **vmbuf)
125 *vmbuf = vmalloc(gsstoken->length);
128 memcpy((*vmbuf)->v, gsstoken->value, gsstoken->length);
129 (*vmbuf)->l = gsstoken->length;
404 gss_buffer_t gsstoken;
412 gsstoken = &gps->gss_p[gps->gsscnt_p];
414 ret = gssapi_vm2gssbuf(token, gsstoken);
426 gss_buffer_t gsstoken;
435 gsstoken = &gps->gss[gps->gsscnt - 1];
436 ret = gssapi_gss2vmbuf(gsstoken, token);