Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 1614) sorted by relevance

12345678910>>...65

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_phy.c229 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
232 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
285 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
313 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_phy_info()
851 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
987 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
989 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
991 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
993 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
995 length += OSAL_SPRINTF(&p_phy_result_buf[length], in ecore_decode_sfp_info()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c25 size_t *length;
104 k1.length=d1.length;
121 k2.length=d2.length;
140 k3.length=d3.length;
179 output->length = plaintext.length+hashsize;
305 k1.length=d1.length;
322 k2.length=d2.length;
341 k3.length=d3.length;
354 ciphertext.length=input->length-hashsize;
357 plaintext.length=ciphertext.length;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c75 key_len += length; in asn1_encode_key()
77 key_len += length; in asn1_encode_key()
81 key_len += length; in asn1_encode_key()
83 key_len += length; in asn1_encode_key()
86 key_len += length; in asn1_encode_key()
88 key_len += length; in asn1_encode_key()
122 sum += length; in asn1_encode_key()
173 sum += length; in asn1_encode_sequence_of_keys()
175 sum += length; in asn1_encode_sequence_of_keys()
183 sum += length; in asn1_encode_sequence_of_keys()
[all …]
H A Dasn1_encode.c46 length = partlen; in asn1_encode_boolean()
49 length += partlen; in asn1_encode_boolean()
51 *retlen = length; in asn1_encode_boolean()
69 length++; in asn1_encode_integer_internal()
76 length++; in asn1_encode_integer_internal()
80 length++; in asn1_encode_integer_internal()
84 *retlen = length; in asn1_encode_integer_internal()
97 length = partlen; in asn1_encode_integer()
102 *retlen = length; in asn1_encode_integer()
141 length++; in asn1_encode_unsigned_integer()
[all …]
H A Dkrb5_encode.c71 sum += length; in encode_krb5_pa_pk_as_req()
80 sum += length; in encode_krb5_pa_pk_as_req_draft9()
89 sum += length; in encode_krb5_pa_pk_as_rep()
98 sum += length; in encode_krb5_pa_pk_as_rep_draft9()
107 sum += length; in encode_krb5_auth_pack()
116 sum += length; in encode_krb5_auth_pack_draft9()
125 sum += length; in encode_krb5_kdc_dh_key_info()
134 sum += length; in encode_krb5_reply_key_pack()
143 sum += length; in encode_krb5_reply_key_pack_draft9()
152 sum += length; in encode_krb5_td_trusted_certifiers()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c43 packet->length = 6 + ap_req->length + cipherpw.length; in krb5int_mk_chpw_req()
151 ap_rep.length = (ap_rep.length<<8) | (*ptr++ & 0xff); in krb5int_rd_chpw_rep()
153 if (ptr + ap_rep.length >= packet->data + packet->length) in krb5int_rd_chpw_rep()
159 ptr += ap_rep.length; in krb5int_rd_chpw_rep()
179 cipherresult.length = (packet->data + packet->length) - ptr; in krb5int_rd_chpw_rep()
196 cipherresult.length = (packet->data + packet->length) - ptr; in krb5int_rd_chpw_rep()
227 result_data->length = (clearresult.data + clearresult.length) - ptr; in krb5int_rd_chpw_rep()
314 packet->length = 6 + ap_req->length + cipherpw.length; in krb5int_mk_setpw_req()
425 if (ptr + ap_rep.length >= packet->data + packet->length) in krb5int_rd_setpw_rep()
452 cipherresult.length = (packet->data + packet->length) - ptr; in krb5int_rd_setpw_rep()
[all …]
H A Dchk_trans.c104 d.length = i; in process_intermediates()
145 if (last->length + buf->length > bufsiz) { in maybe_join()
149 memmove (buf->data+last->length, buf->data, buf->length); in maybe_join()
151 buf->length += last->length; in maybe_join()
156 if (last->length+buf->length > bufsiz) { in maybe_join()
160 memcpy (buf->data + buf->length, last->data, last->length); in maybe_join()
161 buf->length += last->length; in maybe_join()
239 last_component.length = this_component.length; in foreach_realm()
249 last_component.length = crealm->length; in foreach_realm()
298 return (d1->length == d2->length in same_data()
[all …]
H A Dwalk_rtree.c202 clen = client->length; in krb5_walk_realm_tree()
203 slen = server->length; in krb5_walk_realm_tree()
296 tmpcrealm.length = client->length; in krb5_walk_realm_tree()
319 tmpcrealm.length = tmpsrealm.length; in krb5_walk_realm_tree()
336 tmpcrealm.length = client->length - in krb5_walk_realm_tree()
339 tmpsrealm.length = client->length - in krb5_walk_realm_tree()
355 tmpcrealm.length = client->length - in krb5_walk_realm_tree()
358 tmpsrealm.length = server->length - in krb5_walk_realm_tree()
380 tmpcrealm.length = server->length - in krb5_walk_realm_tree()
383 tmpsrealm.length = server->length - in krb5_walk_realm_tree()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_token.c75 int length; in der_length_size()
77 if (length < (1<<7))
79 else if (length < (1<<8))
85 else if (length < (1<<16))
96 int length;
98 if (length < (1<<7)) {
103 if (length >= (1<<24))
105 if (length >= (1<<16))
108 if (length >= (1<<8))
223 toid.length = *buf++;
[all …]
H A Dk5sealv3.c163 plain.length = message->length + 16 + ec; in gss_krb5int_make_seal_token_v3()
232 plain.length = message->length + 16; in gss_krb5int_make_seal_token_v3()
277 if (message2->length) in gss_krb5int_make_seal_token_v3()
334 token->length = bufsize; in gss_krb5int_make_seal_token_v3()
340 token->length = 0; in gss_krb5int_make_seal_token_v3()
475 message_buffer->length = plain.length - ec - 16; in gss_krb5int_unseal_token_v3()
482 message_buffer->length); in gss_krb5int_unseal_token_v3()
502 sum.length = ec; in gss_krb5int_unseal_token_v3()
519 message_buffer->length = plain.length - 16; in gss_krb5int_unseal_token_v3()
549 plain.length = message_buffer->length + 16; in gss_krb5int_unseal_token_v3()
[all …]
H A Dutil_crypt.c128 unsigned int length;
152 inputd.length = length;
155 outputd.ciphertext.length = length;
176 unsigned int length;
200 inputd.ciphertext.length = length;
203 outputd.length = length;
231 usage_key.length = longterm_key->length; in kg_arcfour_docrypt()
244 seq_enc_key.length = longterm_key->length; in kg_arcfour_docrypt()
264 input.length = 4; in kg_arcfour_docrypt()
266 output.length = usage_key.length; in kg_arcfour_docrypt()
[all …]
H A Dk5unseal.c311 token.length = 0;
369 token.length = 0;
383 plaind.length = 8 + (ctx->big_endian ? token.length : plainlen);
397 token.length = 0;
416 token.length = 0;
445 token.length = 0;
463 token.length = 0;
495 token.length = 0;
527 token.length = 0;
544 plaind.length = 8 + (ctx->big_endian ? token.length : plainlen);
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchpw.c43 packet->length = 6 + ap_req->length + cipherpw.length; in krb5int_mk_chpw_req()
73 ptr += ap_req->length; in krb5int_mk_chpw_req()
101 if (packet->length < 4) in krb5int_rd_chpw_rep()
153 ap_rep.length = (ap_rep.length<<8) | (*ptr++ & 0xff); in krb5int_rd_chpw_rep()
155 if (ptr + ap_rep.length >= packet->data + packet->length) in krb5int_rd_chpw_rep()
158 if (ap_rep.length) { in krb5int_rd_chpw_rep()
161 ptr += ap_rep.length; in krb5int_rd_chpw_rep()
181 cipherresult.length = (packet->data + packet->length) - ptr; in krb5int_rd_chpw_rep()
198 cipherresult.length = (packet->data + packet->length) - ptr; in krb5int_rd_chpw_rep()
236 result_data->length = (clearresult.data + clearresult.length) - ptr; in krb5int_rd_chpw_rep()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c55 ASSERT(input->length == output->length); in krb5int_aes_encrypt()
93 local_iv.length = ivec->length; in krb5int_aes_encrypt()
290 assert(input->length == output->length); in krb5int_aes_encrypt()
501 ASSERT(input->length == output->length); in krb5int_aes_decrypt()
530 local_iv.length = ivec->length; in krb5int_aes_decrypt()
613 length = input->length - (BLOCK_SIZE + partialamount); in krb5int_aes_decrypt()
737 assert(input->length == output->length); in krb5int_aes_decrypt()
924 length, in krb5int_aes_decrypt()
980 length, in krb5int_aes_decrypt()
1016 if (key->length != 16 && key->length != 32) in k5_aes_make_key()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_encrypt.c100 d1.length = blocksize; in krb5_dk_encrypt()
112 d1.length = plainlen; in krb5_dk_encrypt()
115 d2.length = plainlen; in krb5_dk_encrypt()
135 output->length = enclen; in krb5_dk_encrypt()
171 size_t *length;
199 tmphash.length = hashsize; in trunc_hmac()
262 d1.length = blocksize; in krb5int_aes_dk_encrypt()
278 d1.length = plainlen; in krb5int_aes_dk_encrypt()
281 d2.length = plainlen; in krb5int_aes_dk_encrypt()
297 if (d2.length != 96 / 8) in krb5int_aes_dk_encrypt()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_tlv_layout.h114 uint32_t length; member
136 uint32_t length; member
153 uint32_t length; member
172 uint32_t length; member
190 uint32_t length; member
210 uint32_t length; member
218 uint32_t length; member
235 uint32_t length; member
243 uint32_t length; member
260 uint32_t length; member
[all …]
/illumos-gate/usr/src/lib/libgss/
H A Dg_exp_sec_context.c51 interprocess_token->length = 0; in val_exp_sec_ctx_args()
80 OM_uint32 length; local
110 length = token.length + 4 + ctx->mech_type->length;
111 interprocess_token->length = length;
118 length = ctx->mech_type->length;
119 buf[3] = (unsigned char) (length & 0xFF);
120 length >>= 8;
122 length >>= 8;
124 length >>= 8;
127 (size_t)ctx->mech_type->length);
[all …]
H A Dg_imp_sec_context.c79 OM_uint32 length = 0; local
106 length = (OM_uint32)*p++;
107 length = (OM_uint32)(length << 8) + *p++;
108 length = (OM_uint32)(length << 8) + *p++;
109 length = (OM_uint32)(length << 8) + *p++;
112 if (length == 0 ||
113 length > (interprocess_token->length - sizeof (OM_uint32))) {
118 ctx->mech_type->length = length;
119 ctx->mech_type->elements = malloc(length);
124 p += length;
[all …]
H A Dg_glue.c96 length = new_length; in gssint_get_der_length()
101 return (length); in gssint_get_der_length()
143 if (length < 128) { in gssint_put_der_length()
144 *s++ = length; in gssint_put_der_length()
197 int length; local
237 if (length == 0)
407 mech_type->length +
411 name_buf->length = 0;
434 name_buf->length = 0;
695 len = srcBuf->length;
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c72 rep->length = 0; in process_chpw_request()
76 ap_rep.length = 0; in process_chpw_request()
79 clear.length = 0; in process_chpw_request()
81 cipher.length = 0; in process_chpw_request()
126 ap_req.length = (ap_req.length<<8) | (*ptr++ & 0xff); in process_chpw_request()
128 if (ptr + ap_req.length >= req->data + req->length) { in process_chpw_request()
247 local_kaddr.length = addrs[0]->length; in process_chpw_request()
333 cipher.length = (req->data + req->length) - ptr; in process_chpw_request()
380 clear.length = 0; in process_chpw_request()
431 cipher.length = 0; in process_chpw_request()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dimport_name.c63 OM_uint32 length; local
173 length = *cp++;
174 if (length != gss_mech_krb5->length+2)
178 length = *cp++;
179 if (length != gss_mech_krb5->length)
183 cp += length;
184 length = *cp++;
185 length = (length << 8) | *cp++;
186 length = (length << 8) | *cp++;
187 length = (length << 8) | *cp++;
[all …]
H A Dexport_name.c39 size_t length; in krb5_gss_export_name() local
52 exported_name->length = 0; in krb5_gss_export_name()
83 length = strlen(str); in krb5_gss_export_name()
84 exported_name->length = 10 + length + gss_mech_krb5->length; in krb5_gss_export_name()
96 *cp++ = (gss_mech_krb5->length+2) >> 8; in krb5_gss_export_name()
101 cp += gss_mech_krb5->length; in krb5_gss_export_name()
102 *cp++ = length >> 24; in krb5_gss_export_name()
103 *cp++ = length >> 16; in krb5_gss_export_name()
104 *cp++ = length >> 8; in krb5_gss_export_name()
105 *cp++ = length & 0xFF; in krb5_gss_export_name()
[all …]
/illumos-gate/usr/src/cmd/gss/gsscred/
H A Dgsscred_utils.c96 nameOut->length = 0; in gsscred_MakeName()
103 oidStr.length = strlen(nameOidStr); in gsscred_MakeName()
115 aName.length = strlen(name); in gsscred_MakeName()
170 outNameHdr->length = 0; in gsscred_MakeNameHeader()
185 mechOid->length; in gsscred_MakeNameHeader()
218 if (dataOut->length < ((dataIn->length *2) + 1)) in gsscred_AsHex()
223 dataOut->length = 0; in gsscred_AsHex()
225 for (i = 0; i < dataIn->length; i++) { in gsscred_AsHex()
275 (expName->length - expNameTokIdLen in gss_getGssCredEntry()
280 mechOidDesc.length = len; in gss_getGssCredEntry()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c58 if (input->length < blocksize + hashsize || input->length % blocksize != 0) in krb5_old_decrypt()
61 if (arg_output->length < plainsize) in krb5_old_decrypt()
64 if (arg_output->length < input->length) { in krb5_old_decrypt()
65 output.length = input->length; in krb5_old_decrypt()
73 output.length = input->length; in krb5_old_decrypt()
83 if (ivec != NULL && ivec->length == blocksize) { in krb5_old_decrypt()
95 crcivec.length = key->length; in krb5_old_decrypt()
108 cksum.length = hashsize; in krb5_old_decrypt()
128 arg_output->length = plainsize; in krb5_old_decrypt()
138 (void) memset(output.data, 0, output.length); in krb5_old_decrypt()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_boot.c35 int length; in prom_bootargs() local
46 length = prom_getproplen(node, name); in prom_bootargs()
47 if ((length == -1) || (length == 0)) in prom_bootargs()
49 if (length > OBP_MAXPATHLEN) in prom_bootargs()
50 length = OBP_MAXPATHLEN - 1; /* Null terminator */ in prom_bootargs()
51 (void) prom_bounded_getprop(node, name, bootargs, length); in prom_bootargs()
67 int length; in prom_bootpath() local
77 length = prom_getproplen(node, name); in prom_bootpath()
78 if ((length == -1) || (length == 0)) in prom_bootpath()
80 if (length > OBP_MAXPATHLEN) in prom_bootpath()
[all …]

12345678910>>...65