/external/openssl/crypto/rsa/ |
D | rsa_none.c | 65 int RSA_padding_add_none(unsigned char *to, int tlen, in RSA_padding_add_none() argument 68 if (flen > tlen) in RSA_padding_add_none() 74 if (flen < tlen) in RSA_padding_add_none() 84 int RSA_padding_check_none(unsigned char *to, int tlen, in RSA_padding_check_none() argument 88 if (flen > tlen) in RSA_padding_check_none() 94 memset(to,0,tlen-flen); in RSA_padding_check_none() 95 memcpy(to+tlen-flen,from,flen); in RSA_padding_check_none() 96 return(tlen); in RSA_padding_check_none()
|
D | rsa_pk1.c | 65 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_type_1() argument 71 if (flen > (tlen-RSA_PKCS1_PADDING_SIZE)) in RSA_padding_add_PKCS1_type_1() 83 j=tlen-3-flen; in RSA_padding_add_PKCS1_type_1() 91 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_type_1() argument 133 if (j > tlen) in RSA_padding_check_PKCS1_type_1() 143 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_type_2() argument 149 if (flen > (tlen-11)) in RSA_padding_add_PKCS1_type_2() 161 j=tlen-3-flen; in RSA_padding_add_PKCS1_type_2() 181 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_type_2() argument 215 if (j > tlen) in RSA_padding_check_PKCS1_type_2()
|
D | rsa_ssl.c | 65 int RSA_padding_add_SSLv23(unsigned char *to, int tlen, in RSA_padding_add_SSLv23() argument 71 if (flen > (tlen-11)) in RSA_padding_add_SSLv23() 83 j=tlen-3-8-flen; in RSA_padding_add_SSLv23() 105 int RSA_padding_check_SSLv23(unsigned char *to, int tlen, in RSA_padding_check_SSLv23() argument 145 if (j > tlen) in RSA_padding_check_SSLv23()
|
D | rsa.h | 380 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 …]
|
D | rsa_x931.c | 66 int RSA_padding_add_X931(unsigned char *to, int tlen, in RSA_padding_add_X931() argument 76 j = tlen - flen - 2; in RSA_padding_add_X931() 105 int RSA_padding_check_X931(unsigned char *to, int tlen, in RSA_padding_check_X931() argument
|
D | rsa_oaep.c | 34 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_OAEP() argument 38 int i, emlen = tlen - 1; in RSA_padding_add_PKCS1_OAEP() 94 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_OAEP() argument 166 if (tlen < mlen) in RSA_padding_check_PKCS1_OAEP()
|
/external/tcpdump/ |
D | print-bgp.c | 635 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; in decode_labeled_vpn_l2() local 639 tlen=plen; in decode_labeled_vpn_l2() 650 tlen-=15; in decode_labeled_vpn_l2() 653 while (tlen>0) { in decode_labeled_vpn_l2() 654 if (tlen < 3) in decode_labeled_vpn_l2() 689 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it right */ in decode_labeled_vpn_l2() 877 int tlen; in bgp_attr_print() local 883 tlen=len; in bgp_attr_print() 960 while (tlen>0) { in bgp_attr_print() 978 (tlen>4) ? ", " : ""); in bgp_attr_print() [all …]
|
D | print-slow.c | 125 u_int tlv_len,tlen,tlv_tlen; in slow_print() local 161 tlen=len-sizeof(struct slow_common_header); in slow_print() 164 while(tlen>0) { in slow_print() 178 tlv_len > tlen) && in slow_print() 182 print_unknown_data(tptr+sizeof(sizeof(struct tlv_header_t)),"\n\t ",tlen); in slow_print() 259 tlen-=tlv_len; in slow_print()
|
D | print-rsvp.c | 617 rsvp_obj_print (const u_char *tptr, const char *ident, u_int tlen) { in rsvp_obj_print() argument 636 while(tlen>=sizeof(struct rsvp_object_header)) { in rsvp_obj_print() 674 if(tlen < rsvp_obj_len) { in rsvp_obj_print() 1641 tlen-=rsvp_obj_len; in rsvp_obj_print() 1655 u_short tlen,subtlen; in rsvp_print() local 1682 tlen=EXTRACT_16BITS(rsvp_com_header->length); in rsvp_print() 1689 tlen, in rsvp_print() 1693 if (tlen < sizeof(const struct rsvp_common_header)) { in rsvp_print() 1694 printf("ERROR: common header too short %u < %lu", tlen, in rsvp_print() 1700 tlen-=sizeof(const struct rsvp_common_header); in rsvp_print() [all …]
|
D | print-eigrp.c | 219 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; in eigrp_print() local 254 tlen=len-sizeof(struct eigrp_common_header); in eigrp_print() 268 tlen); in eigrp_print() 272 while(tlen>0) { in eigrp_print() 282 eigrp_tlv_len > tlen) { in eigrp_print() 283 print_unknown_data(tptr+sizeof(sizeof(struct eigrp_tlv_header)),"\n\t ",tlen); in eigrp_print() 475 tlen-=eigrp_tlv_len; in eigrp_print()
|
D | print-ldp.c | 502 u_short tlen; in ldp_msg_print() local 533 tlen=pdu_len; in ldp_msg_print() 536 tlen -= sizeof(const struct ldp_common_header)-4; /* Type & Length fields not included */ in ldp_msg_print() 538 while(tlen>0) { in ldp_msg_print() 607 tlen -= msg_len+4; in ldp_msg_print()
|
D | print-lmp.c | 367 int tlen,lmp_obj_len,lmp_obj_ctype,obj_tlen; in lmp_print() local 401 tlen=EXTRACT_16BITS(lmp_com_header->length); in lmp_print() 407 tlen); in lmp_print() 410 tlen-=sizeof(const struct lmp_common_header); in lmp_print() 412 while(tlen>0) { in lmp_print() 876 tlen-=lmp_obj_len; in lmp_print()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_inf.c | 453 int tlen, num_spi; local 481 tlen = ntohs(delete->h.len) - sizeof(struct isakmp_pl_d); 483 if (tlen != num_spi * delete->spi_size) { 582 int tlen; local 592 tlen = sizeof(*d) + sizeof(isakmp_index); 593 payload = vmalloc(tlen); 602 d->h.len = htons(tlen); 628 int tlen; local 656 tlen = sizeof(*d) + pr->spisize; 657 payload = vmalloc(tlen); [all …]
|
D | isakmp_quick.c | 156 int tlen; local 232 tlen = + sizeof(*gen) + iph2->sa->l 235 tlen += (sizeof(*gen) + iph2->dhpub->l); 237 tlen += sizeof(*gen) + iph2->id->l; 239 tlen += sizeof(*gen) + iph2->id_p->l; 241 body = vmalloc(tlen); 322 int tlen; local 379 tlen = iph2->nonce->l 381 hbuf = vmalloc(tlen); 395 tlen = 0; /* count payload length except of HASH payload. */ [all …]
|
D | isakmp_cfg.c | 145 int tlen; local 188 tlen = dmsg->l - sizeof(*packet); 192 while ((tlen > 0) && (np != ISAKMP_NPTYPE_NONE)) { 194 if (tlen < sizeof(*ph)) { 201 if (tlen < ntohs(ph->len)) { 264 tlen -= ntohs(ph->len); 321 int tlen; local 328 tlen = ntohs(attrpl->h.len); 330 tlen -= sizeof(*attrpl); 332 while (tlen > 0) { [all …]
|
D | admin.c | 508 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) {
|
/external/wpa_supplicant_8/src/utils/ |
D | common.c | 529 size_t tlen; in wpa_config_parse_string() local 534 tlen = pos - value; in wpa_config_parse_string() 535 tstr = os_malloc(tlen + 1); in wpa_config_parse_string() 538 os_memcpy(tstr, value, tlen); in wpa_config_parse_string() 539 tstr[tlen] = '\0'; in wpa_config_parse_string() 541 str = os_malloc(tlen + 1); in wpa_config_parse_string() 547 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string() 553 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local 556 tlen = hlen / 2; in wpa_config_parse_string() 557 str = os_malloc(tlen + 1); in wpa_config_parse_string() [all …]
|
/external/openssl/include/openssl/ |
D | rsa.h | 380 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 …]
|
/external/srec/srec/crec/ |
D | text_parser.c | 34 const char* transcription, int tlen) in check_word_path() argument 53 if (tlen > 0) in check_word_path() 55 for (wd = transcription + tlen - 1; wd > transcription; wd--) in check_word_path() 103 tlen--; in check_word_path() 104 while (transcription[tlen] != ' ' && tlen > 0) tlen--; in check_word_path()
|
/external/bluetooth/bluedroid/stack/smp/ |
D | smp_cmac.c | 135 static BOOLEAN cmac_aes_k_calculate(BT_OCTET16 key, UINT8 *p_signature, UINT16 tlen) in cmac_aes_k_calculate() argument 160 p_mac = output.param_buf + (BT_OCTET16_LEN - tlen); in cmac_aes_k_calculate() 161 memcpy(p_signature, p_mac, tlen); in cmac_aes_k_calculate() 163 SMP_TRACE_DEBUG2("tlen = %d p_mac = %d", tlen, p_mac); in cmac_aes_k_calculate() 295 UINT16 tlen, UINT8 *p_signature) in AES_CMAC() argument 327 ret = cmac_aes_k_calculate(key, p_signature, tlen); in AES_CMAC() 342 void test_cmac_cback(UINT8 *p_mac, UINT16 tlen)
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 101 static int tlen = 0; /* total length of pbuf */ variable 478 tlen = 0; in init_x_policy() 485 tlen = sizeof(struct sadb_x_policy); in init_x_policy() 487 memset(pbuf, 0, tlen); in init_x_policy() 506 offset = tlen; in init_x_policy() 523 tlen += reqlen; /* increment to total length */ 525 n = realloc(pbuf, tlen); 593 tlen = 0; 611 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen);
|
D | key_debug.c | 111 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 -= xisr->sadb_x_ipsecrequest_len; [all …]
|
/external/icu4c/test/intltest/ |
D | mnkytst.cpp | 83 int32_t tlen = checkValue((rand() - source.length()) % source.length()); in TestCollationKey() local 87 source.extract(MIN(t, tlen), MAX(t, tlen), subt); in TestCollationKey() 158 int32_t tlen = checkValue((rand() - source.length()) % source.length()); in TestCompare() local 162 source.extract(MIN(t, tlen), MAX(t, tlen), subt); in TestCompare()
|
/external/kernel-headers/original/linux/nfsd/ |
D | xdr.h | 58 int tlen; member 70 int tlen; member 78 int tlen; member
|
/external/qemu/slirp-android/ |
D | tcp_subr.c | 108 register int tlen; in tcp_respond() local 125 tlen = 1; in tcp_respond() 127 tlen = 0; in tcp_respond() 141 tlen = 0; in tcp_respond() 147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond() 148 tlen += sizeof (struct tcpiphdr); in tcp_respond() 149 m->m_len = tlen; in tcp_respond() 164 ti->ti_sum = cksum(m, tlen); in tcp_respond() 165 ((struct ip *)ti)->ip_len = tlen; in tcp_respond()
|