Source code for tlslite.utils.python_aesgcm

# Author: Google
# See the LICENSE file for legal information regarding use of this file.

"""Pure-Python AES-GCM implementation."""

from .aesgcm import AESGCM
from .rijndael import Rijndael


[docs] def new(key): return AESGCM(key, "python", Rijndael(key, 16).encrypt)