Lines Matching refs:ivlen
538 int ivlen; in esp_output_tail() local
559 ivlen = crypto_aead_ivsize(aead); in esp_output_tail()
581 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
609 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
619 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail()
622 memset(iv, 0, ivlen); in esp_output_tail()
623 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp_output_tail()
624 min(ivlen, 8)); in esp_output_tail()
882 int ivlen = crypto_aead_ivsize(aead); in esp_input() local
883 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input()
893 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + ivlen)) in esp_input()
954 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()