Lines Matching refs:ivlen
142 esp_cbc_decrypt_aes(m, off, sav, algo, ivlen)
147 int ivlen;
161 if (ivlen != AES_BLOCKLEN) {
163 "unsupported ivlen %d\n", algo->name, ivlen));
171 bodyoff = off + sizeof(struct esp) + ivlen;
174 bodyoff = off + sizeof(struct newesp) + ivlen;
192 m_copydata(m, ivoff, ivlen, (caddr_t) iv);
341 int ivlen)
355 if (ivlen != AES_BLOCKLEN) {
357 "unsupported ivlen %d\n", algo->name, ivlen));
365 bodyoff = off + sizeof(struct esp) + ivlen;
368 bodyoff = off + sizeof(struct newesp) + ivlen;
372 m_copyback(m, ivoff, ivlen, sav->iv);