Lines Matching refs:ivlen
117 size_t ivlen;
138 ivlen = sav->ivlen;
139 if (ivlen < 0)
150 hdrsiz = sizeof(struct esp) + ivlen + maxpad;
158 hdrsiz = sizeof(struct newesp) + ivlen + maxpad + authlen;
176 * esp_max_ivlen() = max ivlen for CBC mode
200 * ivlen
222 int ivlen;
231 KERNEL_DEBUG(DBG_FNC_ESPOUT | DBG_FUNC_START, sav->ivlen,0,0,0,0);
294 ivlen = sav->ivlen;
296 if (ivlen < 0) {
297 panic("invalid ivlen");
314 size_t esphlen; /* sizeof(struct esp/newesp) + ivlen */
327 esphlen = esplen + ivlen;
679 if ((*algo->encrypt)(m, espoff, plen + extendsiz, sav, algo, ivlen)) {