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

remaining changes

+14 -1
+14 -1
CHANGES.md
··· 1 - ## unreleased 1 + ## v1.0.0 (2024-06-29) 2 2 3 3 ### Breaking changes 4 4 5 5 * mirage-crypto: Poly1305 API now uses string (#203 @hannesm) 6 + * mirage-crypto: Poly1305 no longer has type alias "type mac = string" 7 + (#232 @hannesm) 6 8 * mirage-crypto: the API uses string instead of cstruct (#214 @reynir @hannesm) 7 9 * mirage-crypto: Hash module has been removed. Use digestif if you need hash 8 10 functions (#213 @hannesm) ··· 21 23 `generate_into : ?g -> bytes -> ?off:int -> int -> unit` is provided 22 24 (#212 @hannesm @reynir) 23 25 * mirage-crypto-ec: remove NIST P224 support (#209 @hannesm @Firobe) 26 + * mirage-crypto: in Uncommon.xor_into the arguments ~src_off and ~dst_off are 27 + required now (#232 @hannesm), renamed to unsafe_xor_into 28 + (98f01b14f5ebf98ba0e7e9c2ba97ec518f90fddc) 29 + * mirage-crypto-pk, mirage-crypto-rng: remove type alias "type bits = int" 30 + (#236 @hannesm) 24 31 25 32 ### Bugfixes 26 33 ··· 41 48 42 49 ### Other changes 43 50 51 + * mirage-crypto: add {de,en}crypt_into functions (and unsafe variants) to allow 52 + less buffer allocations (#231 @hannesm) 53 + * mirage-crypto-rng-miou: new package which adds rng support with miou 54 + (#227 @dinosaure) 44 55 * PERFORMANCE mirage-crypto: ChaCha20/Poly1305 use string instead of Cstruct.t, 45 56 ChaCha20 interface unchanged, performance improvement roughly 2x 46 57 (#203 @hannesm @reynir) ··· 48 59 hashes (#212 #215 @reynir @hannesm) 49 60 * mirage-crypto-rng: use a set for entropy sources instead of a list 50 61 (#218 @hannesm) 62 + * mirage-crypto-rng-mirage: provide a module type S (for use instead of 63 + mirage-random in mirage) (#234 @hannesm) 51 64 52 65 ## v0.11.3 (2024-02-26) 53 66