aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:48:46 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-13 12:48:46 -0800
commit86dc3ab8e849498471f8f5b65470c7a53d4023e7 (patch)
tree4dfd31c89d0376f5a0b8b909835d173ca55ca542 /tests
parent811163e609c2df4f785473376f914d224d896f07 (diff)
downloadcryptography-86dc3ab8e849498471f8f5b65470c7a53d4023e7.tar.gz
cryptography-86dc3ab8e849498471f8f5b65470c7a53d4023e7.tar.bz2
cryptography-86dc3ab8e849498471f8f5b65470c7a53d4023e7.zip
Fix comments in padding.py to be accurate
This is not in fact O(n ** 2) because ``len(self._buffer)`` is bounded by ``self.block_size``. This means that each ``self._buffer += x`` only copies O(len(x)) bytes, meaning the whole thing is linear.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions