Lines Matching refs:seqhilen
38 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int seqhilen) in esp_alloc_tmp() argument
42 len = seqhilen; in esp_alloc_tmp()
64 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) in esp_tmp_iv() argument
67 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv()
68 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; in esp_tmp_iv()
136 int seqhilen; in esp_output() local
164 seqhilen = 0; in esp_output()
168 seqhilen += sizeof(__be32); in esp_output()
169 assoclen += seqhilen; in esp_output()
172 tmp = esp_alloc_tmp(aead, nfrags + sglists, seqhilen); in esp_output()
179 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_output()
250 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_output()
382 int seqhilen; in esp_input() local
404 seqhilen = 0; in esp_input()
408 seqhilen += sizeof(__be32); in esp_input()
409 assoclen += seqhilen; in esp_input()
413 tmp = esp_alloc_tmp(aead, nfrags + sglists, seqhilen); in esp_input()
419 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_input()
438 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_input()