Skip to content

ssh-key: support no_alloc with mldsa* composite signatures - #655

Merged
tarcieri merged 1 commit into
masterfrom
ssh-key/mldsa-composite-no-alloc
Dec 3, 2026
Merged

tarcieri merged 1 commit into
masterfrom
ssh-key/mldsa-composite-no-alloc

Conversation

@tarcieri

@tarcieri tarcieri commented Dec 3, 2026

Copy link
Copy Markdown
Member

These algorithms all use fixed/bounded length encodings and therefore don't need alloc, though ml-dsa without alloc currently uses large volumes of stack space so it's questionable how many targets will be able to pull this off. Still, we can make it possible.

The alloc feature still enables ml-dsa?/alloc so it can use MaybeBox for heap offload when available.

These algorithms all use fixed/bounded length encodings and therefore
don't need `alloc`, though `ml-dsa` without `alloc` currently uses large
volumes of stack space so it's questionable how many targets will be
able to pull this off. Still, we can make it possible.

The `alloc` feature still enables `ml-dsa?/alloc` so it can use
`MaybeBox` for heap offload when available.
@tarcieri
tarcieri force-pushed the ssh-key/mldsa-composite-no-alloc branch from 0e2a438 to adc0e34 Compare December 3, 2026 21:35
@tarcieri
tarcieri merged commit c9e38d6 into master Dec 3, 2026
13 checks passed
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