Skip to content

Commit

Permalink
Bypass output paramter test on OpenPGP
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Jun 22, 2020
1 parent 178dff6 commit ac4a565
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Crypto/SelfTest/Cipher/test_CBC.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ def test_output_param(self):
self.assertEqual(pt, output)
self.assertEqual(res, None)


def test_output_param_same_buffer(self):

pt = b'5' * 16
cipher = AES.new(b'4'*16, self.aes_mode, iv=self.iv_128)
ct = cipher.encrypt(pt)
Expand Down
3 changes: 3 additions & 0 deletions lib/Crypto/SelfTest/Cipher/test_OpenPGP.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ def test_unaligned_data_64(self):
def test_output_param(self):
pass

def test_output_param_same_buffer(self):
pass

def test_output_param_memoryview(self):
pass

Expand Down

0 comments on commit ac4a565

Please sign in to comment.