Lines Matching refs:padlen
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);
3339 buf = vmalloc(len + padlen);
3345 if (padlen) {
3349 for (i = 0; i < padlen; i++)
3357 buf->v[len + padlen - 1] = padlen - 1;
3359 buf->v[len + padlen - 1] = padlen;
3419 int padlen; local
3421 padlen = base - len % base;
3424 padlen += ((eay_random() % (lcconf->pad_maxsize + 1) + 1) *
3427 return padlen;