Commit b701069
API: Document what TRBYTES is useful for
TRBYTES is the size of the public-key hash. It is a public interface
of the ML-DSA family: callers of the external-mu API that compute the
message representative mu themselves (e.g. to sign or verify a large or
streamed message that does not fit in RAM) need it to size their TR
buffer. Expand the comment on MLDSA_TRBYTES in mldsa_native.h to explain
this, so the constant is not mistaken for a purely internal value again.
See #1267 (comment)
Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>1 parent 6b3d460 commit b701069
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments