Skip to content

ssh2_mlkem_new: Set public key buffer length correctly - #2029

Merged
willco007 merged 1 commit into
masterfrom
willco007-patch-mlkem
Jun 10, 2026
Merged

willco007 merged 1 commit into
masterfrom
willco007-patch-mlkem

Conversation

@willco007

Copy link
Copy Markdown
Member

actualPubLen was never set so extracting the public key would fail with buffer too short error.

Credit:
Will Cosgrove

`actualPubLen` was never set so extracting the public key would fail with buffer too short error.
@willco007 willco007 changed the title ssh2_mlkem_new: Set public key length correctly ssh2_mlkem_new: Set public key buffer length correctly Jun 10, 2026
@willco007
willco007 merged commit 41389f8 into master Jun 10, 2026
83 of 97 checks passed
@willco007
willco007 deleted the willco007-patch-mlkem branch June 10, 2026 18:58
vszakats added a commit that referenced this pull request Jul 28, 2026
- `ssh2_mlkem_new()` with `ssh2_curve25519_new()`.
- also inline two comments.

Follow-up to 1164743 #2308
Follow-up to 41389f8 #2029
Follow-up to 3ba252e #1644

Closes #2442
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