Conversation
mjthatch
requested changes
Apr 2, 2026
| 7. return (tree_idx, leaf_idx) | ||
| \end{verbatim} | ||
| \paragraph{Note:} The total digest must encode \texttt{k*a + hsl = 6*22 + 24 = 156} bits. The \texttt{H\_msg\_fors} output length (Section~5.4.2) must be set accordingly: \texttt{roundup((k*a + hsl) / 8) = 20} bytes. This is a correction from the original \texttt{roundup((k*a) / 8) = 17} bytes, which was insufficient for the unified digest. | ||
| \paragraph{Note:} The total XOF output must encode \texttt{C * b + hsl = 18 * 24 + 16 + 22 = 470} bits. |
| tree_idx: array of d tree indices | ||
| leaf_idx: array of d leaf indices | ||
|
|
||
| 1. ht_offset ← k * a |
Collaborator
There was a problem hiding this comment.
we should derive ht_offset from the same C := roundup(k * 2^b / t) + 7 formula
mjthatch
approved these changes
Apr 16, 2026
| \begin{itemize} | ||
| \item SHRINCS-B (Bitcoin-optimized): Minimizes signature size at the cost of more verification hashes. | ||
| \item SHRINCS-L (Liquid-optimized): Minimizes verification cost at the cost of larger signatures. | ||
| \item SHRINCS-B32 (Ligthing-optimized): Minimizes signature size and increses signature usage at the cost of more verification hashes. |
Collaborator
There was a problem hiding this comment.
It's not Lightning optimized. Basically, it is the parameters set that support 2^32 signatures, and yes, we try not to make grinding too difficult
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changed section from FORS+C entirely to PORS+FP. Modified all sections that were related to FORS+C.