Skip to content

Use native AES-XTS in hacbrewpack#37

Open
TooTallNate wants to merge 1 commit into
mainfrom
hacbrewpack-native-aes-xts
Open

Use native AES-XTS in hacbrewpack#37
TooTallNate wants to merge 1 commit into
mainfrom
hacbrewpack-native-aes-xts

Conversation

@TooTallNate

Copy link
Copy Markdown
Owner

Summary

  • Detect native AES-XTS support and use it for NCA header encryption when available.
  • Pass nx.js-compatible Nintendo XTS options (sector, isNintendo) to the native WebCrypto implementation.
  • Correct the AES-XTS example in @tootallnate/nca docs.

Verification

  • pnpm --filter @tootallnate/aes-xts build
  • pnpm --filter @tootallnate/ivfc build
  • pnpm --filter @tootallnate/lz4 build
  • pnpm --filter @tootallnate/romfs build
  • pnpm --filter @tootallnate/cnmt build
  • pnpm --filter @tootallnate/nca build
  • pnpm --filter @tootallnate/hacbrewpack build
  • On-device applet-mode install succeeded using native AES-XTS (Daybreak forwarder, ~4.4s)

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nro-editor Ready Ready Preview, Comment Jun 16, 2026 8:52am
nsp-forwarder Ready Ready Preview, Comment Jun 16, 2026 8:52am
nx-archive Ready Ready Preview, Comment Jun 16, 2026 8:52am
rom-id Ready Ready Preview, Comment Jun 16, 2026 8:52am

@changeset-bot

changeset-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a26d630

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@tootallnate/hacbrewpack Patch
nsp-forwarder Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to 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