upstream: https://github.com/mirage/mirage-crypto
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[ci skip] changes for 0.8.1

+17
+17
CHANGES.md
··· 1 + ## v0.8.1 (2020-07-02) 2 + 3 + * Add Chacha20 implementation (based on abeaumont/ocaml-chacha), supporting 4 + both DJB's original specification (nonce 64 bit, counter 64 bit) and IETF 5 + (RFC 8439: nonce 96 bit, counter 32 bit) 6 + (#72 @hannesm) 7 + * Add Poly1305 implementation based on floodyberry/poly1305-donna (#72 @hannesm) 8 + * Unified AEAD module type, implemented by CCM, GCM, and Chacha20/Poly1305 9 + The functions "authenticate_encrypt" and "authenticate_decrypt" are defined, 10 + which append (encrypt) and check equality (decrypt, using Eqaf for 11 + constant-time comparison) the authentication tag directly. 12 + Breaking changes: 13 + - GCM "~iv" is now "~nonce" 14 + - GCM encrypt returns the encrypted data and authentication tag appended 15 + - GCM decrypt returns the plaintext as option (None on authentication failure) 16 + (#73 @hannesm) 17 + 1 18 ## v0.8.0 (2020-06-18) 2 19 3 20 * New package mirage-crypto-rng-mirage which contains the entropy collection