handle incoming packets with ML-DSA signature

This commit is contained in:
orignal
2025-04-21 21:25:51 -04:00
parent 9bd2b8df76
commit 724d8bde4e
4 changed files with 40 additions and 20 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ namespace data
{
// for post-quantum
uint8_t * signingKey = new uint8_t[keyLen];
memcpy (signingKey, m_StandardIdentity.signingKey, 384);
memcpy (signingKey, m_StandardIdentity, 384);
size_t excessLen = keyLen - 384;
memcpy (signingKey + 384, m_ExtendedBufferPtr + 4, excessLen); // right after signing and crypto key types
verifier->SetPublicKey (signingKey);