• Home
  • Raw
  • Download

Lines Matching refs:buf

96 der_write_length(unsigned char **buf, int length)  in der_write_length()  argument
99 *(*buf)++ = (unsigned char) length; in der_write_length()
101 *(*buf)++ = (unsigned char) (der_length_size(length)+127); in der_write_length()
104 *(*buf)++ = (unsigned char) (length>>24); in der_write_length()
106 *(*buf)++ = (unsigned char) ((length>>16)&0xff); in der_write_length()
109 *(*buf)++ = (unsigned char) ((length>>8)&0xff); in der_write_length()
110 *(*buf)++ = (unsigned char) (length&0xff); in der_write_length()
118 der_read_length(unsigned char **buf, int *bufsize) in der_read_length() argument
125 sf = *(*buf)++; in der_read_length()
134 ret = (ret<<8) + (*(*buf)++); in der_read_length()
160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) in g_make_token_header() argument
162 *(*buf)++ = 0x60; in g_make_token_header()
163 der_write_length(buf, 2 + mech->len + body_size); in g_make_token_header()
164 *(*buf)++ = 0x06; in g_make_token_header()
165 *(*buf)++ = (unsigned char) mech->len; in g_make_token_header()
166 TWRITE_STR(*buf, mech->data, ((int) mech->len)); in g_make_token_header()
183 unsigned char *buf = *buf_in; in g_verify_token_header() local
190 if (*buf++ != 0x60) in g_verify_token_header()
193 if ((seqsize = der_read_length(&buf, &toksize)) < 0) in g_verify_token_header()
201 if (*buf++ != 0x06) in g_verify_token_header()
206 toid.len = *buf++; in g_verify_token_header()
210 toid.data = buf; in g_verify_token_header()
211 buf+=toid.len; in g_verify_token_header()
226 *buf_in = buf; in g_verify_token_header()