Skip to content

feat(crypto): nistcurves v0.6.0 (shape-2 row gen) — 39.7 s handshake @64 MHz - #61

Merged
JC-000 merged 1 commit into
masterfrom
feat/nistcurves-v060
Jul 20, 2026
Merged

feat(crypto): nistcurves v0.6.0 (shape-2 row gen) — 39.7 s handshake @64 MHz#61
JC-000 merged 1 commit into
masterfrom
feat/nistcurves-v060

Conversation

@JC-000

Copy link
Copy Markdown
Owner

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)

config16324864 MHzDC
v0.5.0 onchip117.559.641.231.0 s2.5 s1839 MHz·s
v0.6.0 onchip88.343.330.922.9 s1.1 s1396 MHz·s
  • C down 26%, exactly as upstream's A/B promised; crossover vs REU drops ~34 → ~22 MHz (onchip now wins at 32 MHz).
  • HTTPS e2e: 51.0 s @48 / 39.7 s @64 (v0.5.0: 59.9/47.5; REU baseline: 73.0/64.7).
  • VICE KAT oracle 3/3 on the integrated PRG; all bench runs oracle-gated PASS.
  • The 48 MHz e2e needed 3 attempts (the c64-test-harness#137 link flake — retryable, unrelated to the bump).

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

…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
Sign up for freeto 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

@JC-000