HMAC-64 envelope research: no ≥10% exact shortcut - #23
Draft
arkadianet wants to merge 1 commit into
Draft
Conversation
Exact models, reduced-width probes, and benchmarks of the BIP39 PBKDF2 hot loop. No ≥10% exact cut survives; the pad64 first expand remains a ~3% Category B reduction. Kill ledger in docs/hmac_envelope_research.md. Co-authored-by: arkadianet <arkadianet@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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 free
to 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.
First-principles investigation of the actual BIP39 PBKDF2-HMAC-SHA512 hot loop (4094 HMAC-64 compressions per seed). Does not change production kernels.
Result
Negative on the ≥10% bar. The envelope and the iteration boundary were expanded completely and tested. The only exact work reduction that survives is the already-known pad64 first-expand specialisation (~3% counted ops). New geometry (early digest words, DM-add absorption, inner/outer shared subgraphs, MiniHMAC algebra) is either false or ≤0.65%.
Full kill ledger and the seven required findings:
docs/hmac_envelope_research.md.What was implemented
hmac_sha512f⊕f²affinity probesΣ1+Ch(80k programs)Intentionally not shipped
The ~3% first-expand specialisation already lives on
cursor/pbkdf2-hmac64-specialized-fbd7. This cycle does not polish it into the GPU kernel.Base:
main.