Lines Matching refs:ivlen
141 size_t ivlen; in esp_hdrsiz()
166 ivlen = sav->ivlen; in esp_hdrsiz()
167 if (ivlen < 0) { in esp_hdrsiz()
180 hdrsiz = sizeof(struct esp) + ivlen + maxpad; in esp_hdrsiz()
189 hdrsiz = sizeof(struct newesp) + ivlen + maxpad + authlen; in esp_hdrsiz()
260 int ivlen; in esp_output() local
269 KERNEL_DEBUG(DBG_FNC_ESPOUT | DBG_FUNC_START, sav->ivlen, 0, 0, 0, 0); in esp_output()
347 ivlen = sav->ivlen; in esp_output()
349 if (ivlen < 0) { in esp_output()
376 esphlen = esplen + ivlen; in esp_output()
777 if ((*algo->encrypt)(m, espoff, plen + extendsiz, sav, algo, ivlen)) { in esp_output()
987 int af = 0, ivlen = 0; in esp_kpipe_output() local
993 KERNEL_DEBUG(DBG_FNC_ESPOUT | DBG_FUNC_START, sav->ivlen, 0, 0, 0, 0); in esp_kpipe_output()
1077 ivlen = sav->ivlen; in esp_kpipe_output()
1078 if (__improbable(ivlen < 0)) { in esp_kpipe_output()
1079 panic("invalid ivlen(%d) SPI=%x", ivlen, ntohl(sav->spi)); in esp_kpipe_output()
1087 esphlen = sizeof(struct newesp) + ivlen; in esp_kpipe_output()
1223 esp, iv, ivlen, dst_payload, plen + extendsiz)) != 0)) { in esp_kpipe_output()