mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Summary: The fizz `encrypt` API will opportunistically use inplace encryption if the `IOBuf` you pass it is correctly sized. If it is not it will manually create the output buffer. It turns out doing inplace versus encrypting with a given target output is a bit faster in microbenchmarks, and it will also allow experimenting with caching `IOBuf`s on the send path. Reviewed By: knekritz Differential Revision: D19506291 fbshipit-source-id: 3ef41290538ceac34a344114badbd167e2c25a50
7.4 KiB
7.4 KiB