Skip to content

SHA-2 FFI - #5

Open
weaversa wants to merge 1 commit into
mainfrom
add-sha2-rust
Open

SHA-2 FFI#5
weaversa wants to merge 1 commit into
mainfrom
add-sha2-rust

Conversation

@weaversa

@weaversa weaversa commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Here is a PR to add an FFI for SHA-2. This will help accelerate Cryptol computation as well as demonstrate verification of SHA-2 using SAW.

This PR currently has just a Rust implementation. The FFI and corresponding proofs still need to be created.

@weaversa

Copy link
Copy Markdown
Collaborator Author

Rather writing SAW scripts for proofs, this may be a good PR to explore using Crux (writing the proof scripts directly in Rust). See, for example, https://github.com/GaloisInc/ring-cryptol/blob/dbe96485faa7c093db1337b0151a604a5da728f5/src/digest/sha2.rs#L727

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