mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-22 21:34:22 -04:00
AES padding and queue fix
This commit is contained in:
parent
77e022f03b
commit
ae0a53d9eb
2 changed files with 116 additions and 102 deletions
5
device.h
5
device.h
|
@ -41,10 +41,11 @@
|
|||
#define CONFIG_CSMA_P_DEFAULT 255
|
||||
#define CONFIG_CSMA_SLOTTIME_DEFAULT 20
|
||||
|
||||
#define AX25_MIN_FRAME_LEN 1
|
||||
#define AX25_MIN_FRAME_LEN 4
|
||||
#define AX25_MAX_FRAME_LEN 611
|
||||
// TODO: increase back to 576
|
||||
#define AX25_MAX_PAYLOAD 576
|
||||
#define AX25_MIN_PAYLOAD 2
|
||||
#define AX25_ENCRYPTED_MIN_LENGTH 51 // Padding byte + IV + 1 Block + HMAC + CRC
|
||||
|
||||
// Packet settings
|
||||
#define CONFIG_PASSALL false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue