add buffer read/write functions with cursors
This commit is contained in:
@@ -19,6 +19,11 @@ extern "C" {
|
||||
|
||||
#define BRAVAIS_NO_TIMEOUT UINT64_MAX
|
||||
|
||||
#define BRAVAIS_MAX_DATAGRAM_SIZE 1500
|
||||
#define BRAVAIS_MAX_PLAINTEXT_SIZE 65535
|
||||
|
||||
#define BRAVAIS_KEY_LENGTH 32 // For X25519 private and public - do PQC later
|
||||
|
||||
typedef enum {
|
||||
// Error codes; Generally <0 = error, 0 = success
|
||||
BRAVAIS_EMPTY = 1, // Nothing to emit right now
|
||||
|
||||
Reference in New Issue
Block a user