Lines Matching refs:ivlen
112 esp_cbc_decrypt_aes(m, off, sav, algo, ivlen)
117 int ivlen;
131 if (ivlen != AES_BLOCKLEN) {
133 "unsupported ivlen %d\n", algo->name, ivlen));
141 bodyoff = off + sizeof(struct esp) + ivlen;
144 bodyoff = off + sizeof(struct newesp) + ivlen;
162 m_copydata(m, ivoff, ivlen, iv);
277 int ivlen)
290 if (ivlen != AES_BLOCKLEN) {
292 "unsupported ivlen %d\n", algo->name, ivlen));
300 bodyoff = off + sizeof(struct esp) + ivlen;
303 bodyoff = off + sizeof(struct newesp) + ivlen;
307 m_copyback(m, ivoff, ivlen, sav->iv);