Hello Kaleb,
thanks for your response.
Can you tell us a bit about what is driving this effort?
I am working on a research project on Post-quantum TLS. I already integrated a bunch of PQ algorithms into wolfSSL, but I am struggling with the ones with bigger signatures because of the fragmentation.
WHERE in the second fragment are the garbage values? Are they at the head or the tail of the message?
There is garbage at the beginning of the second fragment (it overwrites the part of the signature data) and also after the end of the signature.
, let me know if you have any followup questions.
I am not sure, if I calculated the overall size correctly; it is also not quite clear, how the fragments should look like.
So the first fragment is:
| RECORD_HEADER | HANDSHAKE_HEADER | DATA_1 |
The second (and the remaining ones) are:
| RECORD_HEADER | HANDSHAKE_HEADER | DATA_2 |
The data which hast to be send is
DATA = | DATA_1 | DATA_2 | = | HASH_SIG_SIZE | VERIFY_HEADER | SIGNATURE |
(divided into 2 or more parts).
Does it make sense so far? Is my understanding correct?