Skip to content

UPSTREAM PR #30810: Add support for HSS signature verification.#682

Open
loci-dev wants to merge 2 commits into
mainfrom
loci/pr-30810-hss_verify_final
Open

UPSTREAM PR #30810: Add support for HSS signature verification.#682
loci-dev wants to merge 2 commits into
mainfrom
loci/pr-30810-hss_verify_final

Conversation

@loci-dev
Copy link
Copy Markdown

Note

Source pull request: openssl/openssl#30810

This is an extension of LMS with multile levels of trees. Since the OID is shared between HSS and LMS the existing LMS keymanager has been extended to support both. LMS is just HSS with one tree level. The public key for HSS has 4 additional bytes to the number of trees (L). In raw form a LMS public key may optionally have the extra header for L with a value or 1.

Previous attempts at this PR only handled XDR raw format and had a separate keymanager for HSS. This was before I was aware of the SubjectPublicKeyInfo format which has a combined HSS_LMS OID.

Checklist
  • documentation is added or updated
  • tests are added or updated

slontis added 2 commits April 14, 2026 19:08
This is an extension of LMS with multile levels of trees.
Since the OID is shared between HSS and LMS the existing
LMS keymanager has been extended to support both. LMS is
just HSS with one tree level. The public key for HSS has 4
additional bytes indicating the number of trees (L). In raw
form a LMS public key may optionally have the extra header
for L with a value or 1.
@loci-review
Copy link
Copy Markdown

loci-review Bot commented Apr 24, 2026

No meaningful performance changes were detected across 20082 analyzed functions in the following binaries: libcrypto.so, libssl.so, openssl.

💬 Questions? Tag @loci-dev

@loci-dev loci-dev force-pushed the main branch 4 times, most recently from 421b135 to 770bf14 Compare April 28, 2026 03:44
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.

2 participants