Searched refs:seqhilen (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 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() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | esp6.c | 92 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) in esp_tmp_iv() argument 95 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv() 96 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; in esp_tmp_iv() 162 int seqhilen; in esp6_output() local 191 seqhilen = 0; in esp6_output() 195 seqhilen += sizeof(__be32); in esp6_output() 196 assoclen += seqhilen; in esp6_output() 199 tmp = esp_alloc_tmp(aead, nfrags + sglists, seqhilen); in esp6_output() 206 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp6_output() 242 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_output() [all …]
|