Skip to content

Use Int32.unsigned_compare instead of ( < ) operator (RMD160) - #176

Merged
dinosaure merged 1 commit into
mainfrom
fix-rmd160-ocaml
Sep 22, 2026
Merged

dinosaure merged 1 commit into
mainfrom
fix-rmd160-ocaml

Conversation

@dinosaure

Copy link
Copy Markdown
Member

find by scrutineer from @avsm

@dinosaure
dinosaure merged commit a73dfed into main Sep 22, 2026
4 checks passed
@dinosaure
dinosaure deleted the fix-rmd160-ocaml branch September 22, 2026 20:10
hannesm pushed a commit to ocaml/opam-repository that referenced this pull request Oct 15, 2026
CHANGES:

- Prefer to use `typedef` internally when it's about C structs (@dinosaure, mirage/digestif#174)
- Use `Int32.unsigned_compare` instead of `Int32.compare` (@dinosaure, mirage/digestif#175, mirage/digestif#176)
- Fix overflow on our `xor` OCaml implementation (@dinosaure, mirage/digestif#177)
- Do bounds checking on our `xor` C/OCaml implementation (@dinosaure, mirage/digestif#178, mirage/digestif#179)
- Provide BLAKE2 implementation (@dinosaure, @thevilledev, mirage/digestif#180)
- Optimize OCaml implementations of hash algorithms and unbox when we manipulate int32 values (@Zaneham, @dinosaure, mirage/digestif#181)
- Expose Keyed version of `Make_BLAKE2{S,B}` (spotted by @copy, @dinosaure, mirage/digestif#173, mirage/digestif#182)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant