Thomas Lamprecht 4832f53ab5 cipherbench: be conform with rfc7539, use 12 byte nonce
else we get an error from this call, using a 16 byte (128 bit) nonce
is currently only supported by the still in draft
XChaCha20-Poly1305, not the current default specified by RFC 7539[0],
which uses a 12 byte (96 bit) nonce.

Fixes the following error:
> thread 'main' panicked at 'called `Result::unwrap()` on an `Err`
> value: ErrorStack([])', src/libcore/result.rs:1165:5

[0]: https://tools.ietf.org/html/rfc7539

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-17 08:49:07 +01:00
2019-04-25 11:01:33 +00:00
2019-12-13 12:42:02 +01:00
2019-09-02 11:40:22 +02:00
2019-09-02 15:21:56 +02:00
2019-11-08 11:50:13 +01:00
2019-08-22 13:44:57 +02:00
Description
No description provided
14 MiB
Languages
Rust 88.1%
JavaScript 11.3%
Makefile 0.3%
CSS 0.2%