/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_token.c | 149 unsigned int g_token_size(mech, body_size) in g_token_size() argument 151 unsigned int body_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) in g_make_token_header() argument 163 unsigned int body_size; 169 (tok_type == -1) ? 2 : (int) (4 + mech->length + body_size)); 188 gss_int32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize_in, in g_verify_token_header() argument 191 unsigned int *body_size; 244 *body_size = toksize;
|
/titanic_50/usr/src/common/ucode/ |
H A D | ucode_utils.c | 49 uint32_t header_size, body_size, total_size; in ucode_header_validate_intel() local 62 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_header_validate_intel() 70 if ((body_size % sizeof (int)) || in ucode_header_validate_intel() 71 (total_size < (header_size + body_size)) || in ucode_header_validate_intel() 90 if (total_size > (header_size + body_size)) { in ucode_header_validate_intel() 91 if ((total_size - body_size - header_size - in ucode_header_validate_intel() 176 uint32_t total_size, body_size, ext_size; in ucode_validate_intel() local 191 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_validate_intel() 192 ext_size = total_size - (header_size + body_size); in ucode_validate_intel() 198 &curbuf[header_size + body_size])) { in ucode_validate_intel()
|
/titanic_50/usr/src/uts/common/gssapi/mechs/dummy/ |
H A D | dmech.c | 71 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) in g_token_size() argument 486 unsigned int body_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, buf, tok_type) in g_make_token_header() argument 496 int body_size; 501 der_write_length(buf, 4 + mech->length + body_size); [all …]
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 256 int total_size, body_size; in ucode_file_reset_intel() local 262 body_size = UCODE_BODY_SIZE_INTEL(ucodefp->uf_header->uh_body_size); in ucode_file_reset_intel() 264 ucode_free(id, ucodefp->uf_body, body_size); in ucode_file_reset_intel() 269 int size = total_size - body_size - UCODE_HEADER_SIZE_INTEL; in ucode_file_reset_intel() 561 int total_size, body_size, ext_size; in ucode_locate_intel() local 569 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_locate_intel() 570 ucodefp->uf_body = ucode_zalloc(cp->cpu_id, body_size); in ucode_locate_intel() 577 body_size, offset) != body_size) in ucode_locate_intel() 586 if (ucode_checksum_intel(sum, body_size, ucodefp->uf_body)) { in ucode_locate_intel() 594 offset = body_size + header_size; in ucode_locate_intel() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 104 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) in g_token_size() argument 1328 unsigned int body_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, buf, tok_type) in g_make_token_header() argument 1338 int body_size; 1343 der_write_length(buf, 4 + mech->length + body_size); [all …]
|
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_generic.h | 194 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,
|
/titanic_50/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 118 ssize_t body_size; /* Size of message body or chunk */ member 2495 c_id->body_size = strtol(hdr, NULL, 10); in init_bread() 2496 if (c_id->body_size == 0 && errno != 0) { in init_bread() 2521 c_id->body_size = get_chunk_header(c_id); in init_bread() 2522 if (c_id->body_size == -1) { in init_bread() 2544 c_id->body_size_tot = c_id->body_size; in init_bread() 2574 *msgcnt = c_id->body_size - c_id->body_read; in get_msgcnt() 2591 c_id->body_size = get_chunk_header(c_id); in get_msgcnt() 2592 if (c_id->body_size == -1) { in get_msgcnt() 2609 if (c_id->body_size == 0) { in get_msgcnt() [all …]
|
/titanic_50/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 330 uint32_t total_size, body_size, offset; in ucode_gen_files_intel() local 341 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_gen_files_intel() 401 offset = UCODE_HEADER_SIZE_INTEL + body_size; in ucode_gen_files_intel()
|
/titanic_50/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 3730 g_token_size(gss_OID_const mech, unsigned int body_size) in g_token_size() argument 3748 hdrsize += 1 + gssint_der_length_size(body_size + hdrsize); in g_token_size() 3750 return (hdrsize + body_size); in g_token_size() 3762 unsigned int body_size, in g_make_token_header() argument 3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen))) in g_make_token_header() 3881 unsigned int *body_size, in g_verify_token_header() argument 3938 *body_size = toksize; in g_verify_token_header()
|