snow
snow copied to clipboard
A Rust implementation of the Noise Protocol Framework
Updates the requirements on [aes-gcm](https://github.com/RustCrypto/AEADs) to permit the latest version. Commits 2f26128 aes-gcm v0.10.1 (#463) 91f4062 Fix rustdoc typos (#462) 19cd777 Include README.md in rustdoc (#461) 30219d9 Fix rustdoc documentation...
Updates the requirements on [chacha20poly1305](https://github.com/RustCrypto/AEADs) to permit the latest version. Commits 49e8a24 chacha20poly1305 v0.9.1 e13da9c chacha20poly1305 v0.9.0 (#367) 4683581 xsalsa20poly1305: bump salsa20 dependency to v0.9 (#366) cbd9cb9 chacha20poly1305: bump chacha20...
Allows for saving and restoring of keys across re-keys. This can be useful, for example, if you are working with UDP and need to decrypt a packet that arrived after...
[At this line][check] there's a check that aead tag fits into output buffer, although the tag is not necessarily appended to the message. E.g. in the `Noise_NN_25519_AESGCM_SHA256` handshake first message...
Solves issue #115
The `constants` module, or at least the `TAGLEN` and `MAXMSGLEN` constants, should be exposed as a public API. `write_message` and `read_message` have limitations on the size of the message based...
A minor change. Just to make the code consistent. Handshake state: - `write_message(payload, message)` - `read_message(message, payload)` Transport state: - `write_message(payload, message)` - `read_message(payload, message)` - this is conflict with...
You're using XX not NN in the simple example 👍
I noticed a few references in the docs to non-existent parameters. While I was at it, I found some inconsistencies, e.g. a few instances of non-imperative language in the short...
Okay. This is ready for review. I got rid of all the .unwrap() calls except for the two located in the "generate" method: ``` /// Generate a new private key....