Searched defs:tlen (Results 1 - 25 of 50) sorted by relevance

12

/external/openssl/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_oaep.c34 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, argument
38 int i, emlen = tlen - 1;
93 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, argument
164 if (tlen < mlen)
/external/dropbear/libtomcrypt/src/prngs/
H A Dfortuna.c230 unsigned long tlen; local
246 tlen = outlen;
276 return tlen;
H A Dsober128.c292 ulong32 t, tlen; local
303 tlen = outlen;
360 return tlen;
/external/chromium/third_party/icu/source/test/intltest/
H A Dmnkytst.cpp83 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local
87 source.extract(MIN(t, tlen), MAX(t, tlen), subt);
158 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local
162 source.extract(MIN(t, tlen), MAX(t, tlen), subt);
/external/icu4c/test/intltest/
H A Dmnkytst.cpp83 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local
87 source.extract(MIN(t, tlen), MAX(t, tlen), subt);
158 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local
162 source.extract(MIN(t, tlen), MAX(t, tlen), subt);
/external/ipsec-tools/src/racoon/
H A Dadmin.c508 int tlen; local
512 tlen = sizeof(*combuf) + buf->l;
514 tlen = sizeof(*combuf);
516 retbuf = racoon_calloc(1, tlen);
524 ((struct admin_com *)retbuf)->ac_len = tlen;
529 tlen = send(so, retbuf, tlen, 0);
531 if (tlen < 0) {
H A Disakmp_quick.c157 int tlen;
233 tlen = + sizeof(*gen) + iph2->sa->l
236 tlen += (sizeof(*gen) + iph2->dhpub->l);
238 tlen += sizeof(*gen) + iph2->id->l;
240 tlen += sizeof(*gen) + iph2->id_p->l;
242 body = vmalloc(tlen);
323 int tlen;
380 tlen = iph2->nonce->l
382 hbuf = vmalloc(tlen);
396 tlen
156 int tlen; local
322 int tlen; local
560 int tlen; local
845 int tlen; local
1190 int tlen; local
1512 int tlen; local
1742 int tlen; local
[all...]
H A Disakmp_inf.c454 int tlen, num_spi;
482 tlen = ntohs(delete->h.len) - sizeof(struct isakmp_pl_d);
484 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);
453 int tlen, num_spi; local
582 int tlen; local
628 int tlen; local
701 int tlen; local
782 int tlen; local
841 int tlen; local
896 int tlen; local
1060 int tlen; local
1526 int tlen; local
1620 int tlen; local
[all...]
/external/srec/srec/crec/
H A Dtext_parser.c34 const char* transcription, int tlen)
53 if (tlen > 0)
55 for (wd = transcription + tlen - 1; wd > transcription; wd--)
103 tlen--;
104 while (transcription[tlen] != ' ' && tlen > 0) tlen--;
33 check_word_path(srec_context* context, arc_token* atok, const char* transcription, int tlen) argument
/external/ipsec-tools/src/libipsec/
H A Dkey_debug.c111 int tlen, extlen; local
124 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg);
127 while (tlen > 0) {
135 if (ext->sadb_ext_len > tlen) {
204 tlen -= extlen;
461 int tlen; local
464 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl);
467 while (tlen > 0) {
491 if (xisr->sadb_x_ipsecrequest_len > tlen) {
496 tlen
[all...]
H A Dpfkey.c139 int tlen; local
153 tlen = ipsec_supported[algno]->sadb_supported_len
156 while (tlen > 0) {
157 if (tlen < sizeof(struct sadb_alg)) {
164 tlen -= sizeof(struct sadb_alg);
748 * tlen: msg length, it's to makeing sure.
754 pfkey_set_supported(msg, tlen)
756 int tlen;
763 if (msg->sadb_msg_len != tlen) {
769 ep = p + tlen;
[all...]
/external/iptables/libipq/
H A Dlibipq.c319 size_t tlen; local
337 tlen = sizeof(nlh) + sizeof(pm);
342 tlen += data_len;
352 nlh.nlmsg_len = tlen;
/external/kernel-headers/original/linux/nfsd/
H A Dxdr.h58 int tlen; member in struct:nfsd_renameargs
70 int tlen; member in struct:nfsd_linkargs
78 int tlen; member in struct:nfsd_symlinkargs
/external/qemu/slirp/
H A Dtcp_input.c239 int len, tlen, off; local
297 tlen = ((struct ip *)ti)->ip_len;
301 ti->ti_len = htons((u_int16_t)tlen);
302 len = sizeof(struct ip ) + tlen;
316 if (off < sizeof (struct tcphdr) || off > tlen) {
320 tlen -= off;
321 ti->ti_len = tlen;
H A Dtcp_subr.c106 register int tlen; local
123 tlen = 1;
125 tlen = 0;
139 tlen = 0;
145 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen));
146 tlen += sizeof (struct tcpiphdr);
147 m->m_len = tlen;
162 ti->ti_sum = cksum(m, tlen);
163 ((struct ip *)ti)->ip_len = tlen;
/external/qemu/slirp-android/
H A Dtcp_input.c239 int len, tlen, off; local
297 tlen = ((struct ip *)ti)->ip_len;
301 ti->ti_len = htons((u_int16_t)tlen);
302 len = sizeof(struct ip ) + tlen;
316 if (off < sizeof (struct tcphdr) || off > tlen) {
320 tlen -= off;
321 ti->ti_len = tlen;
H A Dtcp_subr.c108 register int tlen; local
125 tlen = 1;
127 tlen = 0;
141 tlen = 0;
147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen));
148 tlen += sizeof (struct tcpiphdr);
149 m->m_len = tlen;
164 ti->ti_sum = cksum(m, tlen);
165 ((struct ip *)ti)->ip_len = tlen;
/external/tcpdump/
H A Dprint-slow.c125 u_int tlv_len,tlen,tlv_tlen; local
161 tlen=len-sizeof(struct slow_common_header);
164 while(tlen>0) {
178 tlv_len > tlen) &&
182 print_unknown_data(tptr+sizeof(sizeof(struct tlv_header_t)),"\n\t ",tlen);
259 tlen-=tlv_len;
H A Dprint-tcp.c742 u_int16_t savecsum, tlen; local
763 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
764 tlen = htons(tlen);
765 MD5_Update(&ctx, (char *)&tlen, sizeof(tlen));
/external/zlib/examples/
H A Dgzlog.c301 ulong tlen; /* length (modulo 2^32) of total data */ member in struct:log
425 log->tlen = PULL4(buf + HEAD + 28);
447 PUT4(ext + 28, log->tlen);
525 log->tlen += put;
551 PUT4(buf + 4, log->tlen);
691 log->clen = log->tlen;
696 log->tlen = log->clen;
703 PUT4(buf + 4, log->tlen);
/external/icu4c/i18n/
H A Dbmsearch.cpp662 int32_t tlen = target->stringLength(); local
672 while (tOffset <= tlen) {
677 if (tOffset < tlen) {

Completed in 183 milliseconds

12