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

Unified Diff: third_party/tlslite/tlslite/utils/tripledes.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/tackwrapper.py ('k') | third_party/tlslite/tlslite/utils/win32prng.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/utils/tripledes.py
diff --git a/third_party/tlslite/tlslite/utils/tripledes.py b/third_party/tlslite/tlslite/utils/tripledes.py
index 2db45888bdea54c059963f16c147bc2c5def8659..0b4d07592f8c9b95680f56748c87ce7bcd0af83d 100644
--- a/third_party/tlslite/tlslite/utils/tripledes.py
+++ b/third_party/tlslite/tlslite/utils/tripledes.py
@@ -1,8 +1,9 @@
-"""Abstract class for 3DES."""
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
-from compat import * #For True
+"""Abstract class for 3DES."""
-class TripleDES:
+class TripleDES(object):
def __init__(self, key, mode, IV, implementation):
if len(key) != 24:
raise ValueError()
« no previous file with comments | « third_party/tlslite/tlslite/utils/tackwrapper.py ('k') | third_party/tlslite/tlslite/utils/win32prng.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698