Searched refs:body_size (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_token.c149 unsigned int g_token_size(mech, body_size)
151 unsigned int body_size;
153 /* set body_size to sequence contents size */
154 body_size += 4 + (int) mech->length; /* NEED overflow check */
155 return(1 + der_length_size((int) body_size) + body_size);
161 void g_make_token_header(mech, body_size, buf, tok_type)
163 unsigned int body_size;
169 (tok_type == -1) ? 2 : (int) (4 + mech->length + body_size));
181 * leaving buf advanced past the token header, and setting body_size
[all...]
/illumos-gate/usr/src/common/ucode/
H A Ducode_utils.c49 uint32_t header_size, body_size, total_size; local
62 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size);
70 if ((body_size % sizeof (int)) ||
71 (total_size < (header_size + body_size)) ||
85 * body_size
90 if (total_size > (header_size + body_size)) {
91 if ((total_size - body_size - header_size -
176 uint32_t total_size, body_size, ext_size; local
191 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size);
192 ext_size = total_size - (header_size + body_size);
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/dummy/
H A Ddmech.c71 static int g_token_size(gss_OID mech, unsigned int body_size);
72 static void g_make_token_header(gss_OID mech, int body_size,
74 static int g_verify_token_header(gss_OID mech, int *body_size,
484 g_token_size(mech, body_size)
486 unsigned int body_size;
488 /* set body_size to sequence contents size */
489 body_size += 4 + (int)mech->length; /* NEED overflow check */
490 return (1 + der_length_size(body_size) + body_size);
494 g_make_token_header(mech, body_size, bu
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmicrocode.c256 int total_size, body_size; local
262 body_size = UCODE_BODY_SIZE_INTEL(ucodefp->uf_header->uh_body_size);
264 ucode_free(id, ucodefp->uf_body, body_size);
269 int size = total_size - body_size - UCODE_HEADER_SIZE_INTEL;
561 int total_size, body_size, ext_size; local
569 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size);
570 ucodefp->uf_body = ucode_zalloc(cp->cpu_id, body_size);
577 body_size, offset) != body_size)
586 if (ucode_checksum_intel(sum, body_size, ucodef
813 uint32_t body_size; local
981 int total_size, body_size, ext_size; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c104 static int g_token_size(gss_OID mech, unsigned int body_size);
105 static void g_make_token_header(gss_OID mech, int body_size,
107 static int g_verify_token_header(gss_OID mech, int *body_size,
1326 g_token_size(mech, body_size)
1328 unsigned int body_size;
1330 /* set body_size to sequence contents size */
1331 body_size += 4 + (int)mech->length; /* NEED overflow check */
1332 return (1 + der_length_size(body_size) + body_size);
1336 g_make_token_header(mech, body_size, bu
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h194 unsigned int g_token_size (const gss_OID_desc * mech, unsigned int body_size);
196 void g_make_token_header (const gss_OID_desc * mech, unsigned int body_size,
200 unsigned int *body_size,
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.c118 ssize_t body_size; /* Size of message body or chunk */ member in struct:http_conn_t
119 ssize_t body_read; /* # of bytes of body_size processed */
2495 c_id->body_size = strtol(hdr, NULL, 10);
2496 if (c_id->body_size == 0 && errno != 0) {
2521 c_id->body_size = get_chunk_header(c_id);
2522 if (c_id->body_size == -1) {
2544 c_id->body_size_tot = c_id->body_size;
2574 *msgcnt = c_id->body_size - c_id->body_read;
2591 c_id->body_size = get_chunk_header(c_id);
2592 if (c_id->body_size
[all...]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c330 uint32_t total_size, body_size, offset; local
341 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size);
401 offset = UCODE_HEADER_SIZE_INTEL + body_size;
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3730 g_token_size(gss_OID_const mech, unsigned int body_size) argument
3748 hdrsize += 1 + gssint_der_length_size(body_size + hdrsize);
3750 return (hdrsize + body_size);
3762 unsigned int body_size,
3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen)))
3881 unsigned int *body_size,
3938 *body_size = toksize;
3761 g_make_token_header(gss_OID_const mech, unsigned int body_size, unsigned char **buf, unsigned int totallen) argument
3880 g_verify_token_header(gss_OID_const mech, unsigned int *body_size, unsigned char **buf_in, int tok_type, unsigned int toksize) argument

Completed in 64 milliseconds