mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-07 17:05:52 -04:00
Updated tests
This commit is contained in:
parent
c758c4d279
commit
c4a7d17b2f
2 changed files with 20 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue