Skip to content

[ripemd160] Small optimizations for compression#938

Closed
jimpo wants to merge 1 commit into09-03-_ripemd_ripemd-160_compression_circuitfrom
09-03-_ripemd160_small_optimizations_for_compression
Closed

[ripemd160] Small optimizations for compression#938
jimpo wants to merge 1 commit into09-03-_ripemd_ripemd-160_compression_circuitfrom
09-03-_ripemd160_small_optimizations_for_compression

Conversation

@jimpo
Copy link
Copy Markdown
Collaborator

@jimpo jimpo commented Sep 3, 2025

No description provided.

Copy link
Copy Markdown
Collaborator Author

jimpo commented Sep 3, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label merge-ready to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jimpo jimpo marked this pull request as ready for review September 3, 2025 20:07
@jimpo jimpo force-pushed the 09-03-_ripemd_ripemd-160_compression_circuit branch from 4d6d819 to fd3624c Compare September 3, 2025 20:08
@jimpo jimpo force-pushed the 09-03-_ripemd160_small_optimizations_for_compression branch from a079a03 to c962385 Compare September 3, 2025 20:08
// Selection function i(x, y, z) = (x AND z) OR (y AND NOT z) = y XOR (z AND (x XOR y))
fn i(b: &CircuitBuilder, x: Wire, y: Wire, z: Wire) -> Wire {
b.bor(b.band(x, z), b.band(y, b.bnot(z)))
b.bxor(y, b.band(z, b.bxor(x, y)))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use the new operator named FAX (fused-and-xor).

@jimpo jimpo force-pushed the 09-03-_ripemd160_small_optimizations_for_compression branch from c962385 to 30aa1aa Compare September 3, 2025 20:50
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Sep 4, 2025

Merge activity

  • Sep 4, 5:04 AM UTC: jimpo added this pull request to the Graphite merge queue.
  • Sep 4, 5:04 AM UTC: CI is running for this pull request on a draft pull request (#939) due to your merge queue CI optimization settings.
  • Sep 4, 5:12 AM UTC: Merged by the Graphite merge queue via draft PR: #939.

@graphite-app graphite-app bot closed this Sep 4, 2025
@graphite-app graphite-app bot deleted the 09-03-_ripemd160_small_optimizations_for_compression branch September 4, 2025 05:12
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.

3 participants