Searched refs:tlen (Results 1 - 25 of 157) sorted by relevance

1234567

/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/rsa/
H A Drsa_none.c83 int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from, argument
86 if (flen > tlen)
92 if (flen < tlen)
102 int RSA_padding_check_none(unsigned char *to, int tlen, unsigned char *from, argument
106 if (flen > tlen)
112 memset(to,0,tlen-flen);
113 memcpy(to+tlen-flen,from,flen);
114 return(tlen);
H A Drsa_pk1.c83 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, argument
89 if (flen > (tlen-11))
101 j=tlen-3-flen;
109 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, argument
151 if (j > tlen)
161 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, argument
167 if (flen > (tlen-11))
179 j=tlen-3-flen;
199 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, argument
233 if (j > tlen)
[all...]
H A Drsa_ssl.c83 int RSA_padding_add_SSLv23(unsigned char *to, int tlen, unsigned char *from, argument
89 if (flen > (tlen-11))
101 j=tlen-3-8-flen;
123 int RSA_padding_check_SSLv23(unsigned char *to, int tlen, unsigned char *from, argument
168 if (j > tlen)
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Drsa-sf.c139 size_t tlen = RSA_size(rsa); local
147 status = SecKeyEncrypt(key, kSecPaddingPKCS1, from, flen, to, &tlen);
151 if (tlen > RSA_size(rsa))
153 return tlen;
162 size_t tlen = RSA_size(rsa); local
171 status = SecKeyDecrypt(key, kSecPaddingNone, from, flen, to, &tlen);
175 if (tlen > RSA_size(rsa))
180 if (tlen < 1)
184 tlen--; p++;
185 while (tlen
203 size_t tlen = RSA_size(rsa); local
226 size_t tlen = RSA_size(rsa); local
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/nfs/
H A Dxdr_subs.h216 uint32_t tlen; local
221 tlen = MIN(xbp->xb_left, len);
222 if (tlen) {
223 xbp->xb_ptr += tlen;
224 xbp->xb_left -= tlen;
225 len -= tlen;
332 uint32_t len, tlen; local
346 tlen = MIN(xbp->xb_left, len);
347 if (tlen) {
349 if (tlen > coun
375 uint32_t len, tlen; local
[all...]
/macosx-10.9.5/bash-92/bash-3.2/
H A Dbraces.c92 size_t tlen; local
101 tlen = strlen (text);
104 c = brace_gobbler (text, tlen, &i, '{'); /* } */
110 c = brace_gobbler (text, tlen, &i, '{'); /* } */
117 c = brace_gobbler (text, tlen, &j, '}');
151 c = brace_gobbler (text, tlen, &i, '}');
165 ADVANCE_CHAR (text, tlen, j);
175 ADVANCE_CHAR (text, tlen, j);
249 expand_amble (text, tlen, flags)
251 size_t tlen;
[all...]
H A Dlocale.c333 int tlen; local
373 tlen = strlen (translated);
374 t = (char *)xmalloc (tlen + 1);
377 *lenp = tlen;
440 int len, tlen, foundnl; local
444 for (tlen = 0, len = start; len < end; )
445 temp[tlen++] = string[len++];
446 temp[tlen] = '\0';
471 *lenp = tlen;
476 t = localetrans (temp, tlen,
[all...]
H A Dbracecomp.c68 int result_size, flag, tlen; local
121 tlen = gcd - gcd_zero;
122 x = (char *)xmalloc (tlen + 1);
123 strncpy (x, array[start] + gcd_zero, tlen);
124 x[tlen] = '\0';
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dprint-vqp.c117 int tlen; local
121 tlen = len;
158 tlen-=sizeof(const struct vqp_common_header_t);
160 while (nitems > 0 && tlen > 0) {
166 tlen-=sizeof(struct vqp_obj_tlv_t);
203 tlen -= vqp_obj_len;
H A Dprint-cfm.c298 u_int hexdump, tlen, cfm_tlv_len, cfm_tlv_type, ccm_interval; local
337 tlen = length - sizeof(struct cfm_common_header_t);
469 if (tlen > cfm_common_header->first_tlv_offset) {
471 tlen - cfm_common_header->first_tlv_offset);
479 if (tlen <= cfm_common_header->first_tlv_offset) {
484 tlen -= cfm_common_header->first_tlv_offset;
486 while (tlen > 0) {
508 ((cfm_tlv_len + sizeof(struct cfm_tlv_header_t) > tlen) ||
510 print_unknown_data(tptr,"\n\t ",tlen);
515 tlen
[all...]
H A Dprint-rpki-rtr.c258 u_int encapsulated_pdu_length, text_length, tlen, error_code; local
263 tlen = pdu_len;
272 tlen -= sizeof(*pdu);
278 (encapsulated_pdu_length <= tlen)) {
284 tlen -= encapsulated_pdu_length;
290 if (tlen > 4) {
293 tlen -= 4;
295 if (text_length && (text_length <= tlen )) {
320 u_int tlen, pdu_type, pdu_len; local
325 tlen
[all...]
H A Dprint-sflow.c475 u_int tlen; local
483 tlen = len;
487 if (tlen < sizeof(struct sflow_counter_record_t))
502 tlen -= sizeof(struct sflow_counter_record_t);
504 if (tlen < counter_len)
509 if (print_sflow_counter_generic(tptr,tlen))
513 if (print_sflow_counter_ethernet(tptr,tlen))
517 if (print_sflow_counter_token_ring(tptr,tlen))
521 if (print_sflow_counter_basevg(tptr,tlen))
525 if (print_sflow_counter_vlan(tptr,tlen))
668 u_int tlen; local
819 u_int tlen; local
[all...]
H A Dprint-lwapp.c177 int tlen; local
212 tlen=EXTRACT_16BITS(lwapp_trans_header->length);
220 tlen);
230 while(tlen>0) {
289 tlen -= sizeof(struct lwapp_control_header) + msg_tlen;
302 int tlen; local
332 tlen=EXTRACT_16BITS(lwapp_trans_header->length);
340 tlen);
343 tlen-=sizeof(const struct lwapp_transport_header);
346 print_unknown_data(tptr, "\n\t", tlen);
[all...]
H A Dprint-bgp.c960 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; local
964 tlen=plen;
981 tlen-=12;
996 tlen-=15;
999 while (tlen>0) {
1000 if (tlen < 3)
1035 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it right */
1300 u_int tlen; local
1307 tlen=len;
1425 while (tlen>
[all...]
H A Dprint-slow.c340 void slow_marker_lacp_print(register const u_char *tptr, register u_int tlen) { argument
353 while(tlen>0) {
367 tlv_len > tlen) &&
371 print_unknown_data(tptr+sizeof(struct tlv_header_t),"\n\t ",tlen);
449 tlen-=tlv_len;
456 void slow_oam_print(register const u_char *tptr, register u_int tlen) { argument
485 tlen -= sizeof(struct slow_oam_common_header_t);
495 while (tlen > 0) {
563 tlen -= ptr.slow_oam_tlv_header->length;
569 while (tlen >
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Dlro_ext.h53 int tcp_start_coalescing(struct ip *, struct tcphdr *, int tlen);
/macosx-10.9.5/Libc-997.90.3/gen/
H A Dconfstr.c83 size_t tlen; local
91 if (sysctl(mib, 2, NULL, &tlen, NULL, 0) == -1)
94 if ((p = malloc(tlen)) == NULL)
96 if (sysctl(mib, 2, p, &tlen, NULL, 0) == -1) {
110 return (tlen);
/macosx-10.9.5/text_cmds-87/tail/
H A Dread.c71 int ch, len, tlen; local
99 tlen = len;
106 if (tlen) {
107 WR(sp, tlen);
108 tlen = 0;
113 if (tlen)
114 WR(sp, tlen);
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/openssl/
H A Drsa.h261 int RSA_padding_add_PKCS1_type_1(unsigned char *to,int tlen,
263 int RSA_padding_check_PKCS1_type_1(unsigned char *to,int tlen,
265 int RSA_padding_add_PKCS1_type_2(unsigned char *to,int tlen,
267 int RSA_padding_check_PKCS1_type_2(unsigned char *to,int tlen,
269 int RSA_padding_add_PKCS1_OAEP(unsigned char *to,int tlen,
272 int RSA_padding_check_PKCS1_OAEP(unsigned char *to,int tlen,
275 int RSA_padding_add_SSLv23(unsigned char *to,int tlen,
277 int RSA_padding_check_SSLv23(unsigned char *to,int tlen,
279 int RSA_padding_add_none(unsigned char *to,int tlen,
281 int RSA_padding_check_none(unsigned char *to,int tlen,
[all...]
/macosx-10.9.5/lsof-52/lsof/tests/
H A DLTlib.c342 int tlen; /* temporary length */ local
355 if (((tlen = (int)strlen(dp)) < 1) || (tlen > XDINDEV))
423 int tlen; /* temporary length */ local
455 tlen = (int)(sizeof(char *) * (optc + 4));
457 av = (char **)malloc(tlen);
459 av = (char **)realloc((void *)av, tlen);
593 int tlen; /* temporary message length from local
628 *em = MkStrCpy(embf, &tlen);
633 *em = MkStrCpy(embf, &tlen);
839 int tlen; /* remporary length */ local
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/sdx/sdx/lib/stringfileinfo/
H A Dstringfileinfo.tcl95 set tlen [expr {$vlen + $nlen + $npad + 4}]
96 set tpad [expr {$tlen % 2}]
100 #puts "total length: [expr {$tlen * 2}] bytes"
106 if {($tlen + $tpad) > $len} { puts " $x: too long" ; break }
108 puts -nonewline $fh [binary format sss [expr {$tlen * 2}] $vlen 1]
112 set len [expr {$len - $tlen - $tpad}]
/macosx-10.9.5/network_cmds-433/alias/
H A Dalias_ftp.c137 int hlen, tlen, dlen; local
145 tlen = ntohs(pip->ip_len);
146 dlen = tlen - hlen;
185 tlen = ntohs(pip->ip_len); /* recalc tlen, pkt may have grown */
187 (sptr[tlen-2] == '\r') && (sptr[tlen-1] == '\n'));
502 int slen, hlen, tlen, dlen; local
516 tlen = ntohs(pip->ip_len);
517 dlen = tlen
[all...]
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Disakmp_cfg.c138 int tlen; local
194 tlen = dmsg->l - sizeof(*packet);
198 while ((tlen > 0) && (np != ISAKMP_NPTYPE_NONE)) {
200 if (tlen < sizeof(*ph)) {
207 if (tlen < ntohs(ph->len)) {
226 if (tlen < (plen + ntohs(ph->len))) {
277 tlen -= ntohs(ph->len);
353 int tlen; local
362 tlen = ntohs(attrpl->h.len);
364 tlen
529 int tlen; local
707 int tlen; local
1122 int tlen; local
[all...]
H A Disakmp_inf.c623 int tlen, num_spi;
648 tlen = ntohs(delete->h.len) - sizeof(struct isakmp_pl_d);
650 if (tlen != num_spi * delete->spi_size) {
769 int tlen;
779 tlen = sizeof(*d) + sizeof(isakmp_index);
780 payload = vmalloc(tlen);
789 d->h.len = htons(tlen);
825 int tlen;
864 tlen = sizeof(*d) + pr->spisize;
865 payload = vmalloc(tlen);
622 int tlen, num_spi; local
768 int tlen; local
824 int tlen; local
924 int tlen; local
1048 int tlen; local
1124 int tlen; local
1190 int tlen; local
1384 int tlen; local
1877 int tlen; local
1997 int tlen; local
[all...]
/macosx-10.9.5/vim-53/src/
H A Dtermlib.c96 int tlen = strlen(term); local
105 if (tmp+tlen == nexttmp && _match(tmp, term) == tlen)
149 int tlen = strlen(term); local
161 if (tptr + tlen == nexttptr &&
162 _match(tptr, term) == tlen) /* FOUND! */

Completed in 240 milliseconds

1234567