/external/openssl/crypto/pem/ |
D | pvkfmt.c | 135 unsigned int bitlen, int ispub); 137 unsigned int bitlen, int ispub); 214 static unsigned int blob_length(unsigned bitlen, int isdss, int ispub) in blob_length() argument 217 nbyte = (bitlen + 7) >> 3; in blob_length() 218 hnbyte = (bitlen + 15) >> 4; in blob_length() 251 unsigned int bitlen, magic; in do_b2i() local 253 if (do_blob_header(&p, length, &magic, &bitlen, &isdss, &ispub) <= 0) in do_b2i() 259 if (length < blob_length(bitlen, isdss, ispub)) in do_b2i() 265 return b2i_dss(&p, length, bitlen, ispub); in do_b2i() 267 return b2i_rsa(&p, length, bitlen, ispub); in do_b2i() [all …]
|
/external/tcpdump/ |
D | print-domain.c | 68 int bitlen, bytelen; in ns_nskip() local 74 if ((bitlen = *cp++) == 0) in ns_nskip() 75 bitlen = 256; in ns_nskip() 76 bytelen = (bitlen + 7) / 8; in ns_nskip() 91 int bitlen, slen, b; in blabel_print() local 97 if ((bitlen = *cp) == 0) in blabel_print() 98 bitlen = 256; in blabel_print() 99 slen = (bitlen + 3) / 4; in blabel_print() 104 for (bitp = cp + 1, b = bitlen; bitp < lim && b > 7; b -= 8, bitp++) { in blabel_print() 117 printf("/%d]", bitlen); in blabel_print() [all …]
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 674 unsigned x, y, err, bitlen, lut_gap; in build_lut() local 686 bitlen = mp_unsigned_bin_size(modulus) << 3; in build_lut() 687 x = bitlen % FP_LUT; in build_lut() 689 bitlen += FP_LUT - x; in build_lut() 691 lut_gap = bitlen / FP_LUT; in build_lut() 783 unsigned y, z, err, bitlen, bitpos, lut_gap, first; in accel_fp_mul() local 825 bitlen = mp_unsigned_bin_size(modulus) << 3; in accel_fp_mul() 826 x = bitlen % FP_LUT; in accel_fp_mul() 828 bitlen += FP_LUT - x; in accel_fp_mul() 830 lut_gap = bitlen / FP_LUT; in accel_fp_mul() [all …]
|
/external/iproute2/lib/ |
D | utils.c | 285 addr->bitlen = -1; in get_addr_1() 296 addr->bitlen = -1; in get_addr_1() 308 addr->bitlen = -1; in get_addr_1() 321 addr->bitlen = -1; in get_addr_1() 340 dst->bitlen = 0; in get_prefix_1() 352 dst->bitlen = 128; in get_prefix_1() 355 dst->bitlen = 16; in get_prefix_1() 359 dst->bitlen = 32; in get_prefix_1() 363 || plen > dst->bitlen) { in get_prefix_1() 368 dst->bitlen = plen; in get_prefix_1()
|
/external/iproute2/ip/ |
D | iproute.c | 191 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in print_route() 195 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in print_route() 198 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len)) in print_route() 202 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len))) in print_route() 219 if (filter.rvia.bitlen>0) { in print_route() 225 if (filter.rprefsrc.bitlen>0) { in print_route() 232 if (filter.rdst.family && inet_addr_match(&dst, &filter.rdst, filter.rdst.bitlen)) in print_route() 234 if (filter.mdst.family && filter.mdst.bitlen >= 0 && in print_route() 238 if (filter.rsrc.family && inet_addr_match(&src, &filter.rsrc, filter.rsrc.bitlen)) in print_route() 240 if (filter.msrc.family && filter.msrc.bitlen >= 0 && in print_route() [all …]
|
D | ipmroute.c | 108 if (filter.mdst.family && inet_addr_match(&maddr, &filter.mdst, filter.mdst.bitlen)) in read_mroute_list() 110 if (filter.msrc.family && inet_addr_match(&msrc, &filter.msrc, filter.msrc.bitlen)) in read_mroute_list()
|
D | ipmaddr.c | 113 ma->addr.bitlen = len<<3; in read_dev_mcast() 134 m.addr.bitlen = 32; in read_igmp() 186 ma->addr.bitlen = len<<3; in read_igmp6()
|
D | ipxfrm.c | 957 filter.id_src_mask = src.bitlen; in xfrm_id_parse() 970 filter.id_dst_mask = dst.bitlen; in xfrm_id_parse() 1225 sel->prefixlen_s = src.bitlen; in xfrm_selector_parse() 1227 filter.sel_src_mask = src.bitlen; in xfrm_selector_parse() 1238 sel->prefixlen_d = dst.bitlen; in xfrm_selector_parse() 1240 filter.sel_dst_mask = dst.bitlen; in xfrm_selector_parse()
|
D | ipaddress.c | 500 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) in print_addrinfo() 921 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) in ipaddr_list_or_flush() 1024 req.ifa.ifa_prefixlen = peer.bitlen; in ipaddr_modify() 1123 req.ifa.ifa_prefixlen = lcl.bitlen; in ipaddr_modify() 1133 if (brd.bitlen <= 30) { in ipaddr_modify() 1134 for (i=31; i>=brd.bitlen; i--) { in ipaddr_modify()
|
D | iprule.c | 257 req.r.rtm_src_len = dst.bitlen; in iprule_modify() 263 req.r.rtm_dst_len = dst.bitlen; in iprule_modify()
|
D | ipaddrlabel.c | 187 req.ifal.ifal_prefixlen = prefix.bitlen; in ipaddrlabel_modify()
|
D | iptunnel.c | 565 ip6rd.prefixlen = prefix.bitlen; in do_6rd() 572 ip6rd.relay_prefixlen = prefix.bitlen; in do_6rd()
|
D | ipneigh.c | 224 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) in print_neigh()
|
/external/chromium/crypto/ |
D | rsa_private_key_win.cc | 78 rsa_pub_key->bitlen = pki.modulus()->size() * 8; in CreateFromPrivateKeyInfo() 156 int mod_size = rsa_pub_key->bitlen / 8; in ExportPrivateKey() 157 int primes_size = rsa_pub_key->bitlen / 16; in ExportPrivateKey()
|
/external/iproute2/misc/ |
D | ss.c | 727 if (a->addr.bitlen) { in run_ssfilter() 729 if (!inet2_addr_match(&s->remote, &a->addr, a->addr.bitlen)) in run_ssfilter() 743 if (a->addr.bitlen) { in run_ssfilter() 745 if (!inet2_addr_match(&s->local, &a->addr, a->addr.bitlen)) in run_ssfilter() 837 cond->prefix_len = a->addr.bitlen; in ssfilter_bytecompile() 938 if (a->addr.bitlen) { in remember_he() 947 b->addr.bitlen = len*8; in remember_he() 961 a->addr.bitlen = 0; in get_dns_host() 1018 a.addr.bitlen = 8*strlen(p); in parse_hostcond() 1025 a.addr.bitlen = 0; in parse_hostcond() [all …]
|
/external/iproute2/include/ |
D | utils.h | 47 __s16 bitlen; member
|
/external/iproute2/tc/ |
D | m_nat.c | 64 sel->mask = htonl(~0u << (32 - addr.bitlen)); in parse_nat_args()
|
D | f_u32.c | 348 if (addr.bitlen) in parse_ip_addr() 349 mask = htonl(0xFFFFFFFF<<(32-addr.bitlen)); in parse_ip_addr() 383 plen = addr.bitlen; in parse_ip6_addr()
|
/external/openssl/crypto/x509v3/ |
D | v3_addr.c | 429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() local 442 if (bitlen > 0) { in make_addressPrefix() 443 aor->u.addressPrefix->data[bytelen - 1] &= ~(0xFF >> bitlen); in make_addressPrefix() 444 aor->u.addressPrefix->flags |= 8 - bitlen; in make_addressPrefix()
|