Lines Matching refs:vmbuf
109 gssapi_vm2gssbuf(vchar_t *vmbuf, gss_buffer_t gsstoken) in gssapi_vm2gssbuf() argument
112 gsstoken->value = racoon_malloc(vmbuf->l); 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()
126 if (*vmbuf == NULL) in gssapi_gss2vmbuf()
128 memcpy((*vmbuf)->v, gsstoken->value, gsstoken->length); in gssapi_gss2vmbuf()
129 (*vmbuf)->l = gsstoken->length; in gssapi_gss2vmbuf()
690 vchar_t *vmbuf; in gssapi_get_id() local
734 if (gssapi_gss2vmbuf(id, &vmbuf) < 0) { in gssapi_get_id()
745 return vmbuf; in gssapi_get_id()