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()
102 int extralen = 0; in esp_ssg_unref() local
108 extralen += sizeof(*extra); in esp_ssg_unref()
111 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
543 int extralen; in esp_output_tail() local
553 extralen = 0; in esp_output_tail()
556 extralen += sizeof(*extra); in esp_output_tail()
564 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
569 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()