Repository navigation
hash: HKDF over byte pieces (superproject) - #58
Merged
Merged
Conversation
added 22 commits
November 23, 2026 20:35
…time alias, a docstring's width)
…d lint fixes (gitlink 25d62aa)
…other HKDF functions once sodium and bearssl have them
…arssl (gitlink b349024)
…ne default sentence once openssl and botan have the pieces forms
…otan, and a faster pieces harness (gitlink 44bf2b0)
…byte pieces on the synchronous backends (gitlink ccc01fe)
…to messages' named inputs
extract_on_bearssl is test/messages/extract_on_bearssl's Emscripten case. webcrypto_synchronous and async_hkdf_not_in_webcrypto follow their messages, which pass named arrays instead of {}, ambiguous since the HKDF pieces forms.
…es' named inputs (gitlink b436ede)
…s are named by their function
…e (gitlink 0273659)
…bs/hash at its merge (d0df6a3)
…4274 In node 26.13.0, process.exit can deadlock: a background compile of the main isolate waits for a GC that the exiting main thread never runs (node issue #64274, fixed by node PR #66171, in no release yet). The pre-js called process.exit on the turn after a test's status, and hash's async_heavy hung there 5 times in 300 runs. The pre-js now sets process.exitCode to the first status and lets node end on its own, which disposes the isolate first; it calls process.exit only as an unref'd fallback 10 s later, for a test that something still holds. async_heavy ended on its own 0.2 ms to 5.4 s after its status under 10 to 36 runs at once on 18 cores; 300 runs, 10 at a time: 0 hangs. The first status still wins over later writes, and the bound's exits are unchanged. A fixture pins that a test with nothing pending ends without process.exit (node emits beforeExit); the docs describe the grace.
…that remain around node #64274
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.
HKDF over byte pieces on the superproject side: libs/hash at webcpporg/hash's merge of hash/hkdf-pieces, hash's doc tables and allocation collection reading the pieces forms, the hash_jamfiles fixtures (extract_on_bearssl, the webcrypto messages' named inputs), and tools/node-test/node-pre.js ending a test as node ends on its own (process.exitCode, with process.exit as an unref'd 10 s fallback) around node #64274, whose process.exit deadlock hung Emscripten tests (async_heavy, 5 in 300 runs). Change: webcpporg/proposals (hkdf-pieces). Every library's Emscripten lanes rerun on the new runner. Verified locally on every lane before merge; origin/main merged.