aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.cpp
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-12 09:08:15 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-12 09:08:15 +0100
commit08a7e44a966047a10d7e959d4a8cdeaaf4139ce0 (patch)
tree8e80ff0b0ed3e93c3bcc575ead1f9ae1b1e34ff8 /src/crypto.cpp
parent793b9b910a8f3c010a55433188e4b63414cbb314 (diff)
Pass the message body to decrypt_max_plaintext_length so we can get a more accurate estimate, rename encrypt_max_output_length to encrypt_output_length and change the api to return the exact number of bytes needed to hold the message
Diffstat (limited to 'src/crypto.cpp')
0 files changed, 0 insertions, 0 deletions