Lines Matching refs:extralen
46 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() argument
50 len = extralen; in esp_alloc_tmp()
73 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
76 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
77 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
101 int extralen = 0; in esp_ssg_unref() local
107 extralen += sizeof(struct esp_output_extra); in esp_ssg_unref()
109 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
539 int extralen; in esp_output_tail() local
549 extralen = 0; in esp_output_tail()
552 extralen += sizeof(*extra); in esp_output_tail()
560 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
565 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()