Lines Matching refs:extralen
47 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() argument
51 len = extralen; in esp_alloc_tmp()
74 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
77 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
78 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
102 int extralen = 0; in esp_ssg_unref() local
108 extralen += sizeof(struct esp_output_extra); in esp_ssg_unref()
110 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
502 int extralen; in esp_output_tail() local
512 extralen = 0; in esp_output_tail()
515 extralen += sizeof(*extra); in esp_output_tail()
523 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
528 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()