tlsfuzzer/tlslite-ng

View on GitHub
tlslite/utils/python_aesccm.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# 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)