- sLaika_pollList now holds an outQueue, if events are sent to a peer,
the pollList will keep track so the caller (cnc, bot, etc)
can handle each pollOut for the queued peers.
- cnc's main.c has an example of scheduling tasks
- switched to C11, might go back to C99 if i get the motivation
to write a windows-specific getTime() implementation
- LAIKAPKT_HANDSHAKE_REQ now only sends the bot's pub key
a shared key is generated using the other peer's pub key,
allowing for fully encrypted packet bodies, (packet ID is
left in plain-text)
- laikaS_startOutPacket(), laikaS_endOutPacket(),
laikaS_startInPacket() & laikaS_endInPacket() have been
added.
- laikaS_setSecure() has been added to turn on/off encrypted packets.
- genKey now generates kx keypairs
- major refactoring for relevant packet handlers
- variadic packets have been temporarily disabled
- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B`
- if those definitions aren't passed, the default public & private key will be used (for quick testing)