Home
last modified time | relevance | path

Searched refs:padlen (Results 1 – 23 of 23) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-snprintf.c517 int padlen, strln; /* amount to pad */ in fmtstr() local
528 padlen = min - strln; in fmtstr()
529 if (padlen < 0) in fmtstr()
530 padlen = 0; in fmtstr()
532 padlen = -padlen; /* Left Justify */ in fmtstr()
534 while ((padlen > 0) && (cnt < max)) { in fmtstr()
536 --padlen; in fmtstr()
544 while ((padlen < 0) && (cnt < max)) { in fmtstr()
546 ++padlen; in fmtstr()
724 int padlen = 0; /* amount to pad */ in fmtfp() local
[all …]
Dmd5.c110 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()
Drmd160.c138 size_t padlen; in RMD160Pad() local
146 padlen = RMD160_BLOCK_LENGTH - ((ctx->count / 8) % RMD160_BLOCK_LENGTH); in RMD160Pad()
147 if (padlen < 1 + 8) in RMD160Pad()
148 padlen += RMD160_BLOCK_LENGTH; in RMD160Pad()
149 RMD160Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in RMD160Pad()
/external/mesa3d/src/gallium/auxiliary/util/
Du_snprintf.c864 int padlen, strln; /* Amount to pad. */ in fmtstr() local
875 if ((padlen = width - strln) < 0) in fmtstr()
876 padlen = 0; in fmtstr()
878 padlen = -padlen; in fmtstr()
880 while (padlen > 0) { /* Leading spaces. */ in fmtstr()
882 padlen--; in fmtstr()
888 while (padlen < 0) { /* Trailing spaces. */ in fmtstr()
890 padlen++; in fmtstr()
1014 int padlen = 0; in fmtflt() local
1219 padlen = width /* Minimum field width. */ in fmtflt()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c283 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/wpa_supplicant_8/src/crypto/
Dmd4-internal.c148 size_t padlen; in MD4Pad() local
154 padlen = MD4_BLOCK_LENGTH - in MD4Pad()
156 if (padlen < 1 + 8) in MD4Pad()
157 padlen += MD4_BLOCK_LENGTH; in MD4Pad()
158 MD4Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD4Pad()
Dcrypto_openssl.c951 u8 *buf, size_t buflen, size_t padlen) in crypto_bignum_to_bin() argument
955 if (padlen > buflen) in crypto_bignum_to_bin()
961 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin()
962 offset = padlen - num_bytes; in crypto_bignum_to_bin()
Dcrypto.h503 u8 *buf, size_t buflen, size_t padlen);
/external/tcpdump/
Dprint-ip6.c213 int enh, padlen; in ip6_print() local
214 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); in ip6_print()
216 len -= padlen; in ip6_print()
Dprint-decnet.c99 u_int padlen = mflags & RMF_PADMASK; in decnet_print() local
101 (void) printf("[pad:%d] ", padlen); in decnet_print()
102 if (length < padlen + 2) { in decnet_print()
106 TCHECK2(ap[sizeof(short)], padlen); in decnet_print()
107 ap += padlen; in decnet_print()
108 length -= padlen; in decnet_print()
109 caplen -= padlen; in decnet_print()
Dprint-esp.c540 int *padlen in esp_print()
684 if (padlen) in esp_print()
685 *padlen = *(ep - 2) + 2; in esp_print()
Dprint-ip.c342 int enh, padlen; in ip_print_demux() local
345 &enh, &padlen); in ip_print_demux()
349 ipds->len -= ipds->advance + padlen; in ip_print_demux()
Dnetdissect.h335 int *nhdr, int *padlen);
Dprint-isakmp.c2523 int nh, enh, padlen; in isakmp_rfc3948_print() local
2528 advance = esp_print(ndo, bp, length, bp2, &enh, &padlen); in isakmp_rfc3948_print()
2533 length -= advance + padlen; in isakmp_rfc3948_print()
/external/libnl/lib/
Dmsg.c932 int padlen, alen = nla_len(nla); in dump_attrs() local
944 padlen = nla_padlen(alen); in dump_attrs()
945 if (padlen > 0) { in dump_attrs()
948 padlen); in dump_attrs()
950 padlen, prefix); in dump_attrs()
/external/ipsec-tools/src/racoon/
Doakley.c3195 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 …]
Deaytest.c599 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/fio/crc/
Dsha1.c61 unsigned int padlen[2]; in fio_sha1_final() local
66 padlen[0] = htonl(ctx->size >> 29); in fio_sha1_final()
67 padlen[1] = htonl(ctx->size << 3); in fio_sha1_final()
71 fio_sha1_update(ctx, padlen, 8); in fio_sha1_final()
/external/openssh/
Dpacket.c1058 u_char padlen, pad = 0; in ssh_packet_send2_wrapped() local
1111 padlen = block_size - (len % block_size); in ssh_packet_send2_wrapped()
1112 if (padlen < 4) in ssh_packet_send2_wrapped()
1113 padlen += block_size; in ssh_packet_send2_wrapped()
1119 ((len + padlen) % state->extra_pad); in ssh_packet_send2_wrapped()
1121 __func__, pad, len, padlen, state->extra_pad)); in ssh_packet_send2_wrapped()
1122 padlen += pad; in ssh_packet_send2_wrapped()
1125 if ((r = sshbuf_reserve(state->outgoing_packet, padlen, &cp)) != 0) in ssh_packet_send2_wrapped()
1129 arc4random_buf(cp, padlen); in ssh_packet_send2_wrapped()
1132 explicit_bzero(cp, padlen); in ssh_packet_send2_wrapped()
[all …]
DPROTOCOL.key49 char padlen % 255
/external/wpa_supplicant_8/src/radius/
Dradius.c1288 size_t padlen, i, pos; in radius_user_password_hide() local
1298 padlen = data_len % 16; in radius_user_password_hide()
1299 if (padlen && data_len < buf_len) { in radius_user_password_hide()
1300 padlen = 16 - padlen; in radius_user_password_hide()
1301 os_memset(buf + data_len, 0, padlen); in radius_user_password_hide()
1302 buf_len = data_len + padlen; in radius_user_password_hide()
/external/kernel-headers/original/uapi/linux/
Dip.h132 __u8 padlen; member
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-starteam.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...