aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_pwbox.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-26 03:03:29 +0200
committerAlexander Færøy <ahf@torproject.org>2017-04-26 19:54:18 +0200
commit341824687a619f3203d2378e82785823922a6143 (patch)
treed579cf7a9d069dd3b24271eca865862f66ab5a57 /src/common/crypto_pwbox.h
parent08d86e84086f7caf9f21228c8ed02d7f131168bb (diff)
downloadtor-341824687a619f3203d2378e82785823922a6143.tar.gz
tor-341824687a619f3203d2378e82785823922a6143.zip
Approximate memory usage needed for the LZMA backend.
This patch adds support for measuring the approximated memory usage by the individual `tor_lzma_compress_state_t` object instances. The LZMA library provides the functions `lzma_easy_encoder_memusage()` and `lzma_easy_decoder_memusage()` which is used to find the estimated usage in bytes. See: https://bugs.torproject.org/22066
Diffstat (limited to 'src/common/crypto_pwbox.h')
0 files changed, 0 insertions, 0 deletions