mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-07 05:52:41 -04:00
Implemented ability to change MTU.
This commit is contained in:
parent
40f7a6d359
commit
cd8de64201
5 changed files with 40 additions and 24 deletions
|
@ -34,12 +34,13 @@ class Identity:
|
|||
"""
|
||||
|
||||
# Non-configurable constants
|
||||
AES_HMAC_OVERHEAD = 58 # In bytes
|
||||
FERNET_VERSION = 0x80
|
||||
FERNET_OVERHEAD = 57 # In bytes
|
||||
AES128_BLOCKSIZE = 16 # In bytes
|
||||
HASHLENGTH = 256 # In bits
|
||||
SIGLENGTH = KEYSIZE # In bits
|
||||
|
||||
TRUNCATED_HASHLENGTH = 80 # In bits
|
||||
TRUNCATED_HASHLENGTH = RNS.Reticulum.TRUNCATED_HASHLENGTH
|
||||
"""
|
||||
Constant specifying the truncated hash length (in bits) used by Reticulum
|
||||
for addressable hashes and other purposes. Non-configurable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue