Lines Matching refs:extralen
44 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() argument
48 len = extralen; in esp_alloc_tmp()
71 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
74 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
75 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
100 int extralen = 0; in esp_ssg_unref() local
106 extralen += sizeof(*extra); in esp_ssg_unref()
109 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
372 int extralen; in esp_output_tail() local
382 extralen = 0; in esp_output_tail()
385 extralen += sizeof(*extra); in esp_output_tail()
393 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
398 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()