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()
140 int seqhilen; in esp_output() local
169 seqhilen = 0; in esp_output()
172 seqhilen += sizeof(__be32); in esp_output()
173 assoclen += seqhilen; in esp_output()
176 tmp = esp_alloc_tmp(aead, nfrags, seqhilen); in esp_output()
183 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_output()
415 int seqhilen; in esp_input() local
435 seqhilen = 0; in esp_input()
438 seqhilen += sizeof(__be32); in esp_input()
439 assoclen += seqhilen; in esp_input()
443 tmp = esp_alloc_tmp(aead, nfrags, seqhilen); in esp_input()
449 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_input()