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

1234567

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_none.c65 int RSA_padding_add_none(unsigned char *to, int tlen, argument
68 if (flen > tlen)
74 if (flen < tlen)
84 int RSA_padding_check_none(unsigned char *to, int tlen, argument
88 if (flen > tlen)
94 memset(to,0,tlen-flen);
95 memcpy(to+tlen-flen,from,flen);
96 return(tlen);
H A Drsa_pk1.c65 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, argument
71 if (flen > (tlen-RSA_PKCS1_PADDING_SIZE))
83 j=tlen-3-flen;
91 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, argument
133 if (j > tlen)
143 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, argument
149 if (flen > (tlen-11))
161 j=tlen-3-flen;
181 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, argument
215 if (j > tlen)
[all...]
H A Drsa_ssl.c65 int RSA_padding_add_SSLv23(unsigned char *to, int tlen, argument
71 if (flen > (tlen-11))
83 j=tlen-3-8-flen;
105 int RSA_padding_check_SSLv23(unsigned char *to, int tlen, argument
145 if (j > tlen)
H A Drsa_x931.c66 int RSA_padding_add_X931(unsigned char *to, int tlen, argument
76 j = tlen - flen - 2;
105 int RSA_padding_check_X931(unsigned char *to, int tlen, argument
H A Drsa.h380 int RSA_padding_add_PKCS1_type_1(unsigned char *to,int tlen,
382 int RSA_padding_check_PKCS1_type_1(unsigned char *to,int tlen,
384 int RSA_padding_add_PKCS1_type_2(unsigned char *to,int tlen,
386 int RSA_padding_check_PKCS1_type_2(unsigned char *to,int tlen,
390 int RSA_padding_add_PKCS1_OAEP(unsigned char *to,int tlen,
393 int RSA_padding_check_PKCS1_OAEP(unsigned char *to,int tlen,
396 int RSA_padding_add_SSLv23(unsigned char *to,int tlen,
398 int RSA_padding_check_SSLv23(unsigned char *to,int tlen,
400 int RSA_padding_add_none(unsigned char *to,int tlen,
402 int RSA_padding_check_none(unsigned char *to,int tlen,
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dconfstr.c61 size_t tlen; variable
73 if (sysctl(mib, 2, NULL, &tlen, NULL, 0) == -1)
76 if ((p = malloc(tlen)) == NULL)
78 if (sysctl(mib, 2, p, &tlen, NULL, 0) == -1) {
92 return tlen + 1;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20031201-1.c22 unsigned long tlen; local
38 tlen = test_t1 - test_t0;
39 if (((tlen-e) & 0x7FFFFFFF) > 1000)
45 tlen = test_t1 - test_t0;
46 if (((tlen - e) & 0x7FFFFFFF) > 1000)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D20031201-1.c22 unsigned long tlen; local
38 tlen = test_t1 - test_t0;
39 if (((tlen-e) & 0x7FFFFFFF) > 1000)
45 tlen = test_t1 - test_t0;
46 if (((tlen - e) & 0x7FFFFFFF) > 1000)
/netbsd-6-1-5-RELEASE/dist/nvi/common/
H A Ddelete.c40 size_t blen, len, nlen, tlen; local
110 if ((tlen = fm->cno) != 0) {
113 GET_SPACE_RETW(sp, bp, blen, tlen + 256);
114 MEMCPYW(bp, p, tlen);
127 nlen = (len - (tm->cno + 1)) + tlen;
128 if (tlen > nlen) {
132 if (tlen == 0) {
137 MEMCPYW(bp + tlen, p + (tm->cno + 1), len - (tm->cno + 1));
138 tlen += len - (tm->cno + 1);
142 if (db_set(sp, fm->lno, bp, tlen))
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_nbuf_test.c77 u_int tlen = 0; local
83 s[tlen++] = *d++;
139 u_int tlen = 0, n = 0; local
141 while (tlen < chain_len) {
150 if (tlen + len > chain_len) {
151 len = chain_len - tlen;
153 tlen += len;
167 KASSERT(tlen == chain_len);
170 m0->m_pkthdr.len = tlen;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-vqp.c122 int tlen; local
126 tlen = len;
163 tlen-=sizeof(const struct vqp_common_header_t);
165 while (nitems > 0 && tlen > 0) {
171 tlen-=sizeof(struct vqp_obj_tlv_t);
208 tlen -= vqp_obj_len;
H A Dprint-cfm.c303 u_int hexdump, tlen, cfm_tlv_len, cfm_tlv_type, ccm_interval; local
342 tlen = length - sizeof(struct cfm_common_header_t);
474 if (tlen > cfm_common_header->first_tlv_offset) {
476 tlen - cfm_common_header->first_tlv_offset);
484 if (tlen <= cfm_common_header->first_tlv_offset) {
489 tlen -= cfm_common_header->first_tlv_offset;
491 while (tlen > 0) {
513 ((cfm_tlv_len + sizeof(struct cfm_tlv_header_t) > tlen) ||
515 print_unknown_data(tptr,"\n\t ",tlen);
520 tlen
[all...]
H A Dprint-lwapp.c182 int hexdump,tlen; local
217 tlen=EXTRACT_16BITS(lwapp_trans_header->length);
225 tlen);
235 while(tlen>0) {
295 tlen -= sizeof(struct lwapp_control_header) + msg_tlen;
308 int tlen; local
338 tlen=EXTRACT_16BITS(lwapp_trans_header->length);
346 tlen);
349 tlen-=sizeof(const struct lwapp_transport_header);
352 print_unknown_data(tptr, "\n\t", tlen);
[all...]
H A Dprint-bgp.c953 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; local
957 tlen=plen;
968 tlen-=15;
971 while (tlen>0) {
972 if (tlen < 3)
1007 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it right */
1252 int tlen; local
1259 tlen=len;
1377 while (tlen>0) {
1395 (tlen>
[all...]
H A Dprint-sflow.c280 int tlen; local
285 tlen = len;
322 tlen-=sizeof(const struct sflow_datagram_t);
324 while (nsamples > 0 && tlen > 0) {
330 tlen-=sizeof(struct sflow_sample_header);
367 tlen-= sizeof(struct sflow_expanded_flow_sample_t);
369 while ( nrecords > 0 && tlen > 0) {
380 tlen -= 8;
423 tlen -= flow_len;
439 tlen
[all...]
H A Dprint-slow.c345 void slow_marker_lacp_print(register const u_char *tptr, register u_int tlen) { argument
358 while(tlen>0) {
372 tlv_len > tlen) &&
376 print_unknown_data(tptr+sizeof(struct tlv_header_t),"\n\t ",tlen);
454 tlen-=tlv_len;
461 void slow_oam_print(register const u_char *tptr, register u_int tlen) { argument
490 tlen -= sizeof(struct slow_oam_common_header_t);
500 while (tlen > 0) {
568 tlen -= ptr.slow_oam_tlv_header->length;
574 while (tlen >
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/tail/
H A Dread.c68 int ch, len, tlen; local
95 tlen = len;
102 if (tlen) {
103 WR(sp, tlen);
104 tlen = 0;
109 if (tlen)
110 WR(sp, tlen);
/netbsd-6-1-5-RELEASE/dist/nvi/ex/
H A Dex_join.c40 size_t blen, clen, len, tlen; local
66 clen = tlen = 0;
83 * Get more space if necessary. Note, tlen isn't the length
87 tlen += len + 2;
88 ADD_SPACE_RETW(sp, bp, blen, tlen);
H A Dex_print.c219 size_t col, tlen, ts; local
227 for (tlen = ts - col % ts;
228 col < sp->cols && tlen--; ++col) {
239 INT2CHAR(sp, str, 2, kp, tlen);
242 tlen = KEY_LEN(sp, ch);
244 if (!repeatc && col + tlen < sp->cols) {
246 col += tlen;
248 for (; tlen--; ++kp, ++col) {
H A Dtag.h105 size_t tlen; /* Tag string length. */ member in struct:_tagq
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_inf.c456 int tlen, num_spi;
484 tlen = ntohs(delete->h.len) - sizeof(struct isakmp_pl_d);
486 if (tlen != num_spi * delete->spi_size) {
583 int tlen;
593 tlen = sizeof(*d) + sizeof(isakmp_index);
594 payload = vmalloc(tlen);
603 d->h.len = htons(tlen);
629 int tlen;
657 tlen = sizeof(*d) + pr->spisize;
658 payload = vmalloc(tlen);
455 int tlen, num_spi; local
582 int tlen; local
628 int tlen; local
700 int tlen; local
772 int tlen; local
831 int tlen; local
886 int tlen; local
1039 int tlen; local
1411 int tlen; local
1500 int tlen; local
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/fwctl/
H A Dfwdv.c101 int len, tlen, npad, fd, k, m, vec, lsystem = -1, nb; local
141 tlen = 0;
142 while ((len = read(d, buf + tlen, PSIZE
143 /* RBUFSIZE - tlen */)) > 0) {
154 tlen += len;
155 if ((RBUFSIZE - tlen) < PSIZE)
159 tlen = len = read(d, buf, RBUFSIZE);
249 if ((char *)ptr < buf + tlen)
267 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local
331 tlen
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/engines/vendor_defns/
H A Dsureware.h171 * out param tlen: byte size of decrypted data, if error, unexpected value
180 int *tlen,unsigned char *to,
192 * out param tlen: byte size of decrypted data, if error, unexpected value
201 int *tlen,unsigned char *to,
/netbsd-6-1-5-RELEASE/sys/kern/
H A Duipc_mbuf2.c89 int hlen, tlen, olen; local
150 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
152 * note that hlen + tlen == len, and tlen > 0.
155 tlen = len - hlen;
173 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen &&
175 m_copydata(n->m_next, 0, tlen, mtod(n, char *) + n->m_len);
176 n->m_len += tlen;
177 m_adj(n->m_next, tlen);
181 !sharedcluster && n->m_next->m_len >= tlen) {
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/vi/
H A Dv_search.c73 size_t len, s_cno, tlen; local
229 for (t = cmd + 1, tlen = len - 1; tlen > 0; ++t, --tlen)
232 if (tlen &&
235 --tlen;
239 if (tlen)
255 tlen = snprintf(buf,
257 CHAR2INT(sp, buf, tlen, w, wlen);

Completed in 157 milliseconds

1234567