OFB chaining mode requires padding

Bug #996193 reported by Legrandin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
Fix Committed
Undecided
Unassigned

Bug Description

OFB mode transforms the block cipher into a stream cipher.
However, MODE_OFB in pycrypto still requires the plaintext/ciphertext to be aligned to the block size.
According to NIST SP 800-38A, the last block can be partial.

Revision history for this message
Darsey Litzenberger (dlitz) wrote :
Changed in pycrypto:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.