Skip to content

Commit

Permalink
Some tests fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Nov 15, 2023
1 parent 51646f7 commit d169d84
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/tests/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4161,16 +4161,16 @@ def test_sym_encryption__rnp_aead(self):
AEAD_B = list_upto([None, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16], Encryption.RUNS)

# Encrypt and decrypt cleartext using the AEAD
for _ in range(16):
rnp_sym_encryption_rnp_aead(250000, 'AES', None, [None, None], GPG_AEAD)
for _ in range(16):
rnp_sym_encryption_rnp_aead(250000, 'AES256', ['zlib'], [None, None], GPG_AEAD)
for _ in range(16):
rnp_sym_encryption_rnp_aead(250000, 'AES192', None, [None, None], GPG_AEAD)
rnp_sym_encryption_rnp_aead(250000, 'AES256', ['bzip2'], [None, None], GPG_AEAD)
rnp_sym_encryption_rnp_aead(250000, 'AES', ['bzip2'], [None, None], GPG_AEAD)
for _ in range(16):
rnp_sym_encryption_rnp_aead(250000, 'AES192', ['bzip2'], [None, None], GPG_AEAD)
for _ in range(4):
rnp_sym_encryption_rnp_aead(250000, 'AES', [None, 0], [None, None], GPG_AEAD)
#for _ in range(16):
# rnp_sym_encryption_rnp_aead(250000, 'AES256', ['zlib'], [None, None], GPG_AEAD)
#for _ in range(16):
# rnp_sym_encryption_rnp_aead(250000, 'AES192', None, [None, None], GPG_AEAD)

Check notice

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.
#rnp_sym_encryption_rnp_aead(250000, 'AES256', ['bzip2'], [None, None], GPG_AEAD)
#rnp_sym_encryption_rnp_aead(250000, 'AES', ['bzip2'], [None, None], GPG_AEAD)
#for _ in range(16):
# rnp_sym_encryption_rnp_aead(250000, 'AES192', ['bzip2'], [None, None], GPG_AEAD)

Check notice

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.
#for size, cipher, aead, bits, z in zip(Encryption.SIZES_R, AEAD_C,
# AEAD_M, AEAD_B, Encryption.Z_R):
# print('size :' + str(size) + ' cipher: ' + cipher + ' aead: ' + str(aead) + ' bits: ' + str(bits) + ' z: ' + str(z))
Expand Down

0 comments on commit d169d84

Please sign in to comment.