Home GnuPG
Diffusion GnuPG e92812a4752e

g10/decrypt-data: disable output estream buffering to reduce overhead

Description

g10/decrypt-data: disable output estream buffering to reduce overhead

* g10/decrypt-data.c (decrypt_data): Disable estream buffering for
output file.

Here estream is filled with iobuf_copy which already uses large buffers
so additional buffering in estream was just adding memory copy overhead.

  • GnuPG-bug-id: T5828
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Feb 13 2022, 2:13 PM
wernerCommitted on Aug 29 2022, 12:12 PM
Parents
rGafa64aceab2a: Post release updates
Branches
Unknown
Tags
Unknown
Tasks
T5828: Improvements for gnupg data operation performance (enc/dec/sign/verify/enarmor/dearmor/etc)