Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/tlslite/tlslite/utils/aes.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/tlslite/utils/__init__.py ('k') | third_party/tlslite/tlslite/utils/asn1parser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/utils/aes.py
diff --git a/third_party/tlslite/tlslite/utils/aes.py b/third_party/tlslite/tlslite/utils/aes.py
index 8413f4c109371eeb69f75ddad11a73b9cde7b95f..95afaa340fe7cb9183b872cd299b2ad860f77c61 100644
--- a/third_party/tlslite/tlslite/utils/aes.py
+++ b/third_party/tlslite/tlslite/utils/aes.py
@@ -1,6 +1,9 @@
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
+
"""Abstract class for AES."""
-class AES:
+class AES(object):
def __init__(self, key, mode, IV, implementation):
if len(key) not in (16, 24, 32):
raise AssertionError()
« no previous file with comments | « third_party/tlslite/tlslite/utils/__init__.py ('k') | third_party/tlslite/tlslite/utils/asn1parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698