/external/dropbear/libtomcrypt/src/modes/cfb/ |
cfb_decrypt.c | 40 /* is blocklen/padlen valid? */ 42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { 47 if (cfb->padlen == cfb->blocklen) { 51 cfb->padlen = 0; 53 cfb->pad[cfb->padlen] = *ct; 54 *pt = *ct ^ cfb->IV[cfb->padlen]; 57 ++(cfb->padlen);
|
cfb_encrypt.c | 40 /* is blocklen/padlen valid? */ 42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { 47 if (cfb->padlen == cfb->blocklen) { 51 cfb->padlen = 0; 53 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); 56 ++(cfb->padlen);
|
cfb_setiv.c | 43 cfb->padlen = 0;
|
cfb_start.c | 57 cfb->padlen = 0;
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
ofb_encrypt.c | 38 /* is blocklen/padlen valid? */ 40 ofb->padlen < 0 || ofb->padlen > (int)sizeof(ofb->IV)) { 45 if (ofb->padlen == ofb->blocklen) { 49 ofb->padlen = 0; 51 *ct++ = *pt++ ^ ofb->IV[(ofb->padlen)++];
|
ofb_setiv.c | 43 ofb->padlen = 0;
|
ofb_start.c | 52 ofb->padlen = ofb->blocklen;
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
ctr_encrypt.c | 41 /* is blocklen/padlen valid? */ 43 ctr->padlen < 0 || ctr->padlen > (int)sizeof(ctr->pad)) { 54 if ((ctr->padlen == ctr->blocklen) && cipher_descriptor[ctr->cipher].accel_ctr_encrypt != NULL && (len >= (unsigned long)ctr->blocklen)) { 63 if (ctr->padlen == ctr->blocklen) { 87 ctr->padlen = 0; 90 if (ctr->padlen == 0 && len >= (unsigned long)ctr->blocklen) { 98 ctr->padlen = ctr->blocklen; 102 *ct++ = *pt++ ^ ctr->pad[ctr->padlen++];
|
ctr_setiv.c | 47 ctr->padlen = 0;
|
ctr_start.c | 57 ctr->padlen = 0;
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
f8_encrypt.c | 39 /* is blocklen/padlen valid? */ 41 f8->padlen < 0 || f8->padlen > (int)sizeof(f8->IV)) { 48 if (f8->padlen == f8->blocklen) { 58 f8->padlen = 0; 62 if (f8->padlen == 0) { 81 if (f8->padlen == f8->blocklen) { 91 f8->padlen = 0; 93 *ct++ = *pt++ ^ f8->IV[f8->padlen++];
|
f8_setiv.c | 43 f8->padlen = 0;
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-api-fst.c | 209 int i, numBlocks, padLen; 230 padLen = 16 - (inputOctets - 16*numBlocks); 231 if (padLen <= 0 || padLen > 16) 233 bcopy(input, block, 16 - padLen); 234 for (cp = block + 16 - padLen; cp < block + 16; cp++) 235 *cp = padLen; 251 padLen = 16 - (inputOctets - 16*numBlocks); 252 if (padLen <= 0 || padLen > 16 [all...] |
/external/smack/src/org/xbill/DNS/utils/ |
base32.java | 62 paddingToBlockLen(int padlen) { 63 switch (padlen) { 102 int padlen = blockLenToPadding(blocklen); local 124 for (int j = 0; j < t.length - padlen; j++) { 133 for (int j = t.length - padlen; j < t.length; j++) 177 int padlen = 8; local 185 padlen--; 187 int blocklen = paddingToBlockLen(padlen);
|
/external/smack/src/org/jivesoftware/smack/util/ |
Base32Encoder.java | 67 int padlen = 8; local 75 padlen--; 77 int blocklen = paddingToLen(padlen); 120 int padlen = lenToPadding(blocklen); local 142 for (int j = 0; j < t.length - padlen; j++) { 167 private static int paddingToLen(int padlen) { 168 switch (padlen) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
b_print.c | 443 int padlen, strln; local 450 padlen = min - strln; 451 if (padlen < 0) 452 padlen = 0; 454 padlen = -padlen; 456 while ((padlen > 0) && (cnt < max)) { 458 --padlen; 465 while ((padlen < 0) && (cnt < max)) { 467 ++padlen; 617 int padlen = 0; local [all...] |
/external/openssh/openbsd-compat/ |
bsd-snprintf.c | 475 int padlen, strln; /* amount to pad */ local 486 padlen = min - strln; 487 if (padlen < 0) 488 padlen = 0; 490 padlen = -padlen; /* Left Justify */ 492 while ((padlen > 0) && (cnt < max)) { 494 --padlen; 502 while ((padlen < 0) && (cnt < max)) { 504 ++padlen; 682 int padlen = 0; \/* amount to pad *\/ local [all...] |
/external/openssl/crypto/bio/ |
b_print.c | 443 int padlen, strln; local 450 padlen = min - strln; 451 if (padlen < 0) 452 padlen = 0; 454 padlen = -padlen; 456 while ((padlen > 0) && (cnt < max)) { 458 --padlen; 465 while ((padlen < 0) && (cnt < max)) { 467 ++padlen; 617 int padlen = 0; local [all...] |
/external/dropbear/ |
packet.c | 231 unsigned int padlen; local 279 padlen = buf_getbyte(ses.decryptreadbuf); 282 /* - 4 - 1 is for LEN and PADLEN values */ 283 len = ses.decryptreadbuf->len - padlen - 4 - 1; 412 unsigned char padlen; local 454 padlen = blocksize - (clearwritebuf->len) % blocksize; 455 if (padlen < 4) { 456 padlen += blocksize; 459 if (clearwritebuf->len + padlen < MIN_PACKET_LEN) { 460 padlen += blocksize 472 genrandom(buf_getptr(clearwritebuf, padlen), padlen); local [all...] |
/external/openssh/ |
packet.c | 847 u_char padlen, pad; local 894 padlen = block_size - (len % block_size); 895 if (padlen < 4) 896 padlen += block_size; 898 /* will wrap if extra_pad+padlen > 255 */ 902 ((len + padlen) % active_state->extra_pad); 903 debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)", 904 pad, len, padlen, active_state->extra_pad); 905 padlen += pad; 908 cp = buffer_append_space(&active_state->outgoing_packet, padlen); 1237 u_int padlen, need; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_record.c | 283 u8 padlen; local 398 padlen = out_data[plen - 1]; 399 if (padlen >= plen) { 403 padlen, (unsigned long) plen); 407 for (i = plen - padlen - 1; i < plen - 1; i++) { 408 if (out_data[i] != padlen) { 412 out_data + plen - padlen - 413 1, padlen + 1); 419 plen -= padlen + 1;
|
/external/wpa_supplicant_8/src/crypto/ |
md4-internal.c | 148 size_t padlen; local 154 padlen = MD4_BLOCK_LENGTH - 156 if (padlen < 1 + 8) 157 padlen += MD4_BLOCK_LENGTH; 158 MD4Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_snprintf.c | 864 int padlen, strln; /* Amount to pad. */ local 875 if ((padlen = width - strln) < 0) 876 padlen = 0; 878 padlen = -padlen; 880 while (padlen > 0) { /* Leading spaces. */ 882 padlen--; 888 while (padlen < 0) { /* Trailing spaces. */ 890 padlen++; 1014 int padlen = 0 local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_snprintf.c | 864 int padlen, strln; /* Amount to pad. */ local 875 if ((padlen = width - strln) < 0) 876 padlen = 0; 878 padlen = -padlen; 880 while (padlen > 0) { /* Leading spaces. */ 882 padlen--; 888 while (padlen < 0) { /* Trailing spaces. */ 890 padlen++; 1014 int padlen = 0 local [all...] |
/external/tcpdump/ |
print-ip6.c | 181 int enh, padlen; local 182 advance = esp_print(gndo, cp, len, (const u_char *)ip6, &enh, &padlen); 184 len -= padlen;
|