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

Side by Side Diff: third_party/tlslite/tlslite/utils/python_aesgcm.py

Issue 875683002: Implement AES-GCM in tlslite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Author: Google
2 # See the LICENSE file for legal information regarding use of this file.
3
4 """Pure-Python AES-GCM implementation."""
5
6 from .aesgcm import AESGCM
7 from .rijndael import rijndael
8
9
agl 2015/01/29 19:38:17 extra blank line not needed?
davidben 2015/01/29 21:40:59 Done.
10 def new(key):
11 return AESGCM(key, "python", rijndael(key, 16).encrypt)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698