/external/scapy/scapy/layers/tls/ |
D | record_sslv2.py | 31 (pkt.padlen or 0) - 133 padlen = 0 135 padlen = orb(s[2]) 136 if padlen == 0: 139 cfrag, pad = pfrag[:-padlen], pfrag[-padlen:] 197 padlen = block_size - (len(s) % block_size) 198 if padlen == block_size: 199 padlen = 0 200 padding = b"\x00" * padlen 208 if self.padlen is None: [all …]
|
D | tools.py | 105 padlen = block_size - ((p.len + 1) % block_size) 106 if padlen == block_size: 107 padlen = 0 108 padding = chr(padlen) * (padlen + 1) 125 padlen = ord(p.fragment[-1]) + 1 126 if (p.len < padlen): 130 if (p.fragment[-padlen:] != p.fragment[-1] * padlen): 131 warning("Padding content is invalid %s", repr(p.fragment[-padlen:])) 134 p.fragment = p.fragment[:-padlen] 135 p.len -= padlen
|
D | record.py | 390 self.padlen = None 427 padlen = orb(pfrag[-1]) + 1 428 mfrag, pad = pfrag[:-padlen], pfrag[-padlen:] 429 self.padlen = padlen 588 padlen = block_size - ((len(s) + 1) % block_size) 589 if padlen == block_size: 590 padlen = 0 591 pad_pattern = chb(padlen) 592 padding = pad_pattern * (padlen + 1)
|
D | basefields.py | 197 l = orb(s[pkt.padlen-1]) 245 if pkt.padlen is not None: 246 l = pkt.padlen
|
/external/openssh/openbsd-compat/ |
D | bsd-snprintf.c | 505 int padlen, strln; /* amount to pad */ in fmtstr() local 516 padlen = min - strln; in fmtstr() 517 if (padlen < 0) in fmtstr() 518 padlen = 0; in fmtstr() 520 padlen = -padlen; /* Left Justify */ in fmtstr() 522 while ((padlen > 0) && (cnt < max)) { in fmtstr() 524 --padlen; in fmtstr() 532 while ((padlen < 0) && (cnt < max)) { in fmtstr() 534 ++padlen; in fmtstr() 712 int padlen = 0; /* amount to pad */ in fmtfp() local [all …]
|
D | md5.c | 110 size_t padlen; in MD5Pad() local 116 padlen = MD5_BLOCK_LENGTH - in MD5Pad() 118 if (padlen < 1 + 8) in MD5Pad() 119 padlen += MD5_BLOCK_LENGTH; in MD5Pad() 120 MD5Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD5Pad()
|
D | rmd160.c | 140 size_t padlen; in RMD160Pad() local 148 padlen = RMD160_BLOCK_LENGTH - ((ctx->count / 8) % RMD160_BLOCK_LENGTH); in RMD160Pad() 149 if (padlen < 1 + 8) in RMD160Pad() 150 padlen += RMD160_BLOCK_LENGTH; in RMD160Pad() 151 RMD160Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in RMD160Pad()
|
/external/u-boot/scripts/ |
D | checkstack.pl | 144 my $padlen = 56 - length($intro); 145 while ($padlen > 0) { 147 $padlen -= 8; 161 my $padlen = 56 - length($intro); 162 while ($padlen > 0) { 164 $padlen -= 8;
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_record.c | 283 u8 padlen; in tlsv1_record_receive() local 398 padlen = out_data[plen - 1]; in tlsv1_record_receive() 399 if (padlen >= plen) { in tlsv1_record_receive() 403 padlen, (unsigned long) plen); in tlsv1_record_receive() 407 for (i = plen - padlen - 1; i < plen - 1; i++) { in tlsv1_record_receive() 408 if (out_data[i] != padlen) { in tlsv1_record_receive() 412 out_data + plen - padlen - in tlsv1_record_receive() 413 1, padlen + 1); in tlsv1_record_receive() 419 plen -= padlen + 1; in tlsv1_record_receive()
|
/external/dtc/ |
D | flattree.c | 369 int padlen = 0; in dt_to_blob() local 391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 392 if (padlen < 0) { in dt_to_blob() 393 padlen = 0; in dt_to_blob() 402 padlen = padsize; in dt_to_blob() 405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob() 408 if (padlen > 0) { in dt_to_blob() 410 tsize += padlen; in dt_to_blob() 429 if (padlen > 0) in dt_to_blob() 430 blob = data_append_zeroes(blob, padlen); in dt_to_blob()
|
/external/u-boot/scripts/dtc/ |
D | flattree.c | 369 int padlen = 0; in dt_to_blob() local 391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 392 if (padlen < 0) { in dt_to_blob() 393 padlen = 0; in dt_to_blob() 402 padlen = padsize; in dt_to_blob() 405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob() 408 if (padlen > 0) { in dt_to_blob() 410 tsize += padlen; in dt_to_blob() 429 if (padlen > 0) in dt_to_blob() 430 blob = data_append_zeroes(blob, padlen); in dt_to_blob()
|
/external/wpa_supplicant_8/src/crypto/ |
D | md4-internal.c | 151 size_t padlen; in MD4Pad() local 157 padlen = MD4_BLOCK_LENGTH - in MD4Pad() 159 if (padlen < 1 + 8) in MD4Pad() 160 padlen += MD4_BLOCK_LENGTH; in MD4Pad() 161 MD4Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD4Pad()
|
/external/scapy/scapy/layers/ |
D | ipsec.py | 157 return raw(self.data) + self.padding + struct.pack("BB", self.padlen, self.nh) 314 esp.padlen = -data_len % align 319 esp.padding = struct.pack("B" * esp.padlen, *range(1, esp.padlen + 1)) 393 padlen = orb(data[-2]) 397 data = data[:len(data) - padlen - 2] 398 padding = data[len(data) - padlen - 2: len(data) - 2] 405 padlen=padlen,
|
/external/openssh/ |
D | packet.c | 1148 u_char tmp, padlen, pad = 0; in ssh_packet_send2_wrapped() local 1202 padlen = block_size - (len % block_size); in ssh_packet_send2_wrapped() 1203 if (padlen < 4) in ssh_packet_send2_wrapped() 1204 padlen += block_size; in ssh_packet_send2_wrapped() 1212 tmp = (len + padlen) % state->extra_pad; in ssh_packet_send2_wrapped() 1218 __func__, pad, len, padlen, state->extra_pad)); in ssh_packet_send2_wrapped() 1219 tmp = padlen; in ssh_packet_send2_wrapped() 1220 padlen += pad; in ssh_packet_send2_wrapped() 1222 if (padlen < tmp) in ssh_packet_send2_wrapped() 1226 if ((r = sshbuf_reserve(state->outgoing_packet, padlen, &cp)) != 0) in ssh_packet_send2_wrapped() [all …]
|
/external/tcpdump/ |
D | print-ip6.c | 361 int enh, padlen; in ip6_print() local 362 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); in ip6_print() 366 len -= padlen; in ip6_print()
|
D | print-decnet.c | 533 u_int padlen = mflags & RMF_PADMASK; in decnet_print() local 535 ND_PRINT((ndo, "[pad:%d] ", padlen)); in decnet_print() 536 if (length < padlen + 2) { in decnet_print() 540 ND_TCHECK2(ap[sizeof(short)], padlen); in decnet_print() 541 ap += padlen; in decnet_print() 542 length -= padlen; in decnet_print() 543 caplen -= padlen; in decnet_print()
|
D | print-ip.c | 362 int enh, padlen; in ip_print_demux() local 365 &enh, &padlen); in ip_print_demux() 369 ipds->len -= ipds->advance + padlen; in ip_print_demux()
|
D | print-esp.c | 644 int *padlen in esp_print() 813 if (padlen) in esp_print() 814 *padlen = *(ep - 2) + 2; in esp_print()
|
/external/ipsec-tools/src/racoon/ |
D | oakley.c | 3195 u_int8_t padlen; local 3253 padlen = new->v[new->l - 1] + 1; 3255 padlen = new->v[new->l - 1]; 3256 plog(LLV_DEBUG, LOCATION, NULL, "padding len=%u\n", padlen); 3260 if (padlen > new->l) { 3263 padlen, new->l); 3267 new->l -= padlen; 3316 u_int padlen; local 3335 padlen = oakley_padlen(len, blen); 3336 plog(LLV_DEBUG, LOCATION, NULL, "pad length = %u\n", padlen); [all …]
|
D | eaytest.c | 599 int padlen; in ciphertest_1() local 608 padlen = 0; in ciphertest_1() 610 padlen = data_align - data->l % data_align; in ciphertest_1() 612 buf = vmalloc(data->l + padlen); in ciphertest_1()
|
/external/libnl/lib/ |
D | msg.c | 879 int padlen, alen = nla_len(nla); in dump_attrs() local 895 padlen = nla_padlen(alen); in dump_attrs() 896 if (padlen > 0) { in dump_attrs() 899 padlen); in dump_attrs() 901 padlen, prefix); in dump_attrs()
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 1293 size_t padlen, i, pos; in radius_user_password_hide() local 1303 padlen = data_len % 16; in radius_user_password_hide() 1304 if (padlen && data_len < buf_len) { in radius_user_password_hide() 1305 padlen = 16 - padlen; in radius_user_password_hide() 1306 os_memset(buf + data_len, 0, padlen); in radius_user_password_hide() 1307 buf_len = data_len + padlen; in radius_user_password_hide()
|
/external/libnl/include/linux-private/linux/ |
D | ip.h | 132 __u8 padlen; member
|
/external/kernel-headers/original/uapi/linux/ |
D | ip.h | 133 __u8 padlen; member
|
/external/iproute2/include/uapi/linux/ |
D | ip.h | 133 __u8 padlen; member
|