GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — crypto: wire up SHAKE256 and SLH-DSA with BoringSSL by panva · Pull Request #67483 · nodejs/node

Conversation

@panva

@panva panva commented Nov 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Wire SHAKE256 into node:crypto and uncustomized cSHAKE256 in WebCrypto, enabling not only SHAKE256 itself but also the existing hybrid ML-KEM algorithms in WebCrypto.

Wire SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-256f into the existing key generation, raw/JWK, and one-shot signature paths. Their SPKI/PKCS8 imports remain unsupported by BoringSSL's generic parsers.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@panva panva added the commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. label Nov 15, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/config
  • @nodejs/crypto
  • @nodejs/security-wg
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Nov 15, 2026
@panva panva added crypto Issues and PRs related to the crypto subsystem. webcrypto Issues and PRs related to the Web Crypto API. labels Nov 15, 2026
panva added 2 commits November 17, 2026 02:15
@panva
crypto: wire up SHAKE256 with BoringSSL
78cd795
Add SHAKE256 and SHAKE-256 to name lookup and getHashes(). BoringSSL
exposes EVP_shake256() but omits it from its digest registry and does
not set EVP_MD_FLAG_XOF.

Enable uncustomized cSHAKE256 and the hybrid ML-KEM algorithms that
require SHAKE256. Release consumed XOF contexts after stream flushes to
reject update() and copy() while retaining cached digest retrieval.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
crypto: wire up SLH-DSA with BoringSSL
ef9a5c1
Map SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-256f to the native key IDs and
raw-key descriptors for key generation, raw and JWK operations, and
one-shot signatures with contexts.

Run the existing cases for these variants with JWK fixtures on
BoringSSL, whose generic key parsers omit SLH-DSA.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
@panva
panva force-pushed the crypto-boringssl-shake256 branch from 07cfb14 to ef9a5c1 Compare November 17, 2026 01:16
@panva
panva requested review from anonrig and jasnell November 17, 2026 01:17
@panva
panva marked this pull request as ready for review November 17, 2026 01:17
@nodejs-github-bot

nodejs-github-bot commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/79198/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Nov 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.68%. Comparing base (bc6dd40) to head (ef9a5c1).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/crypto/crypto_hash.cc 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67483      +/-   ##
==========================================
+ Coverage   90.67%   90.68%   +0.01%     
==========================================
  Files         800      800              
  Lines      280489   280489              
  Branches    54166    54161       -5     
==========================================
+ Hits       254336   254373      +37     
+ Misses      16277    16233      -44     
- Partials     9876     9883       +7     
Files with missing lines Coverage Δ
src/crypto/crypto_hash.cc 79.59% <50.00%> (ø)

... and 31 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/79201/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

anonrig
anonrig approved these changes Nov 17, 2026
View reviewed changes
@panva panva added author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue PRs queued for automated landing through the Commit Queue. labels Nov 17, 2026
@nodejs-github-bot nodejs-github-bot added the lacks-second-approval Commit Queue PRs awaiting a second collaborator approval or completion of the required wait. label Nov 17, 2026
christianaurichzm
christianaurichzm approved these changes Nov 17, 2026
View reviewed changes
@nodejs-github-bot

nodejs-github-bot commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Landed in 2231574...3ea9547

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

nodejs-github-bot pushed a commit that referenced this pull request Nov 17, 2026
@panva @nodejs-github-bot
crypto: wire up SHAKE256 with BoringSSL
65f2246
Add SHAKE256 and SHAKE-256 to name lookup and getHashes(). BoringSSL
exposes EVP_shake256() but omits it from its digest registry and does
not set EVP_MD_FLAG_XOF.

Enable uncustomized cSHAKE256 and the hybrid ML-KEM algorithms that
require SHAKE256. Release consumed XOF contexts after stream flushes to
reject update() and copy() while retaining cached digest retrieval.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #67483
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Christian Aurich Zanettini Martins <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Nov 17, 2026
@panva @nodejs-github-bot
crypto: wire up SLH-DSA with BoringSSL
3ea9547
Map SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-256f to the native key IDs and
raw-key descriptors for key generation, raw and JWK operations, and
one-shot signatures with contexts.

Run the existing cases for these variants with JWK fixtures on
BoringSSL, whose generic key parsers omit SLH-DSA.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #67483
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Christian Aurich Zanettini Martins <[email protected]>
@nodejs-github-bot nodejs-github-bot closed this Nov 17, 2026
@nodejs-github-bot nodejs-github-bot removed commit-queue PRs queued for automated landing through the Commit Queue. lacks-second-approval Commit Queue PRs awaiting a second collaborator approval or completion of the required wait. labels Nov 17, 2026
@panva
panva deleted the crypto-boringssl-shake256 branch November 17, 2026 22:19
aduh95 pushed a commit that referenced this pull request Nov 19, 2026
@panva @aduh95
crypto: wire up SLH-DSA with BoringSSL
3791f4f
Map SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-256f to the native key IDs and
raw-key descriptors for key generation, raw and JWK operations, and
one-shot signatures with contexts.

Run the existing cases for these variants with JWK fixtures on
BoringSSL, whose generic key parsers omit SLH-DSA.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: #67483
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Christian Aurich Zanettini Martins <[email protected]>
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
2026-11-25, Version 27.0.0-alpha.0.2.0 (Alpha) #67757
Merged
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
crypto: wire up SHAKE256 with BoringSSL
0abf024
Add SHAKE256 and SHAKE-256 to name lookup and getHashes(). BoringSSL
exposes EVP_shake256() but omits it from its digest registry and does
not set EVP_MD_FLAG_XOF.

Enable uncustomized cSHAKE256 and the hybrid ML-KEM algorithms that
require SHAKE256. Release consumed XOF contexts after stream flushes to
reject update() and copy() while retaining cached digest retrieval.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#67483
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Christian Aurich Zanettini Martins <[email protected]>
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@panva @gabylb
crypto: wire up SLH-DSA with BoringSSL
0ebe2db
Map SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-256f to the native key IDs and
raw-key descriptors for key generation, raw and JWK operations, and
one-shot signatures with contexts.

Run the existing cases for these variants with JWK fixtures on
BoringSSL, whose generic key parsers omit SLH-DSA.

Signed-off-by: Filip Skokan <[email protected]>
Assisted-by: Codex
PR-URL: nodejs#67483
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Christian Aurich Zanettini Martins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@anonrig anonrig anonrig approved these changes
@christianaurichzm christianaurichzm christianaurichzm approved these changes
@jasnell jasnell Awaiting requested review from jasnell

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. crypto Issues and PRs related to the crypto subsystem. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. webcrypto Issues and PRs related to the Web Crypto API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@panva @nodejs-github-bot @anonrig @christianaurichzm
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.