Lines Matching refs:extralen
45 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() argument
49 len = extralen; in esp_alloc_tmp()
72 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
75 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
76 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
101 int extralen = 0; in esp_ssg_unref() local
107 extralen += sizeof(*extra); in esp_ssg_unref()
110 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
360 int extralen; in esp_output_tail() local
370 extralen = 0; in esp_output_tail()
373 extralen += sizeof(*extra); in esp_output_tail()
381 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
386 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()