Lines Matching refs:isize
338 int isize, int osize)
351 if (osize < isize + MPPE_OVHD + 2) {
359 osize = isize + MPPE_OVHD + 2;
390 isize -= 2;
392 arc4_crypt(&state->arc4, obuf, ibuf, isize);
394 state->stats.unc_bytes += isize;
434 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf,
441 if (isize <= PPP_HDRLEN + MPPE_OVHD) {
445 state->unit, isize);
455 if (osize < isize - MPPE_OVHD - 1) {
458 osize, isize - MPPE_OVHD - 1);
461 osize = isize - MPPE_OVHD - 2; /* assume no PFC */
559 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */
560 /* net osize: isize-4 */
581 arc4_crypt(&state->arc4, obuf + 1, ibuf + 1, isize - 1);
585 state->stats.comp_bytes += isize;