mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-17 19:11:30 +00:00
Fix RRID/crypto primitive size defines
This commit is contained in:
parent
495b51f6c2
commit
535fc17875
2 changed files with 6 additions and 5 deletions
|
|
@ -54,11 +54,6 @@ applications may follow different packet versions.
|
|||
// This just works as a quick implementation.
|
||||
#define MAXGENTLEMENDELAY TICRATE
|
||||
|
||||
#define PUBKEYLENGTH 32 // Enforced by Monocypher EdDSA
|
||||
#define PRIVKEYLENGTH 64 // Enforced by Monocypher EdDSA
|
||||
#define SIGNATURELENGTH 64 // Enforced by Monocypher EdDSA
|
||||
#define CHALLENGELENGTH 64 // Servers verify client identity by giving them messages to sign. How long are these messages?
|
||||
|
||||
//
|
||||
// Packet structure
|
||||
//
|
||||
|
|
|
|||
|
|
@ -753,6 +753,12 @@ extern int
|
|||
|
||||
#define MAX_VOLUME 100
|
||||
|
||||
// Crypto/RRID primitives
|
||||
#define PUBKEYLENGTH 32 // Enforced by Monocypher EdDSA
|
||||
#define PRIVKEYLENGTH 64 // Enforced by Monocypher EdDSA
|
||||
#define SIGNATURELENGTH 64 // Enforced by Monocypher EdDSA
|
||||
#define CHALLENGELENGTH 64 // Servers verify client identity by giving them messages to sign. How long are these messages?
|
||||
|
||||
#ifdef HAVE_CURL
|
||||
#define MASTERSERVER
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue