mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
657214992b
Lots of code was using 32-byte nonces for xchacha20 symmetric encryption, but this just means 8 extra bytes per packet wasted as chacha is only using the first 24 bytes of that nonce anyway. Changing this resulted in a lot of dead/dying code breaking, so this commit also removes a lot of that (and comments a couple places with TODO instead) Also nounce -> nonce where it came up. |
||
---|---|---|
.. | ||
constants.hpp | ||
crypto.cpp | ||
crypto.hpp | ||
encrypted.hpp | ||
types.cpp | ||
types.hpp |