9 lines
271 B
Python
9 lines
271 B
Python
# Author: Ivan Nikolchev
|
|
# See the LICENSE file for legal information regarding use of this file.
|
|
|
|
""" Pure Python AES-CCM implementation."""
|
|
|
|
from tlslite.utils.aesccm import AESCCM
|
|
|
|
def new(key, tagLength=16):
|
|
return AESCCM(key, "python", bytearray(16), tagLength)
|