mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-26 17:48:15 -07:00
Updated tests
This commit is contained in:
+6
-1
@@ -183,7 +183,12 @@ class TestIdentity(unittest.TestCase):
|
||||
# Test encrypt and decrypt of large chunks
|
||||
print("Testing large chunk encrypt/decrypt")
|
||||
mlen = 8*1000*1000
|
||||
for i in range(1, 3):
|
||||
if RNS.Cryptography.backend() == "internal":
|
||||
lb = 1
|
||||
else:
|
||||
lb = 8
|
||||
|
||||
for i in range(1, lb):
|
||||
msg = os.urandom(mlen)
|
||||
b += mlen
|
||||
id1 = RNS.Identity()
|
||||
|
||||
Reference in New Issue
Block a user