feat(crypto): nistcurves v0.6.0 (shape-2 row gen) — 39.7 s handshake @64 MHz - #61
Merged
Conversation
…hake @64 Bump libs/nistcurves v0.5.0 -> v0.6.0 (issue #71: inline quarter-square row generation in the FP_ONCHIP_MUL profile). No integration changes — wrapper, glue TU, gates, and segment invariants all carry over (og_common $4214, sqtab $BC00 verified). C64U measurements (no-comb verify archive, 4-pt fit residuals <2%): verify 88.3/43.3/30.9/22.9 s at 16/32/48/64 MHz, D=1.1 s, C=1396 MHz*s (-26% vs shape-1); REU-vs-onchip crossover drops ~34 -> ~22 MHz. HTTPS e2e: 51.0 s @48, 39.7 s @64 (from 47.5 s on v0.5.0, 64.7 s on the REU baseline). VICE KAT oracle 3/3. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UZmMaxyyykvYbCvJAc4QVW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Delta on top of #60: bumps libs/nistcurves to v0.6.0 (issue #71 — inline quarter-square row generation). Zero integration churn: the wrapper/glue/gates from #60 carry over unchanged; link invariants verified.
Measurements (C64U, no-comb verify archive)
Next lever (not in this PR): comb-archive adoption (
nistcurves-onchip.a+ precompute boot + bank-2 residency) — upstream comb verify is 11.8 s @64, projecting a ~28-29 s handshake.🤖 Generated with Claude Code
https://claude.ai/code/session_01UZmMaxyyykvYbCvJAc4QVW