aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/cmac.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-20 16:48:59 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-20 16:48:59 -0700
commit126afca70edc3fac2e493c6b7cd05219c8d8e373 (patch)
treee4c0081f7f153eb551b284d45ab945d851b26af1 /cryptography/hazmat/primitives/cmac.py
parenta31e26f0dca915ccbb2e5e87a929b6bbc154c3c3 (diff)
parent7d15688fe0c64d324691fc3886bcc9a5cdba62d1 (diff)
downloadcryptography-126afca70edc3fac2e493c6b7cd05219c8d8e373.tar.gz
cryptography-126afca70edc3fac2e493c6b7cd05219c8d8e373.tar.bz2
cryptography-126afca70edc3fac2e493c6b7cd05219c8d8e373.zip
Merge pull request #1423 from alex/pr/1396
Add MACContext and switch HMAC and CMAC to use it
Diffstat (limited to 'cryptography/hazmat/primitives/cmac.py')
-rw-r--r--cryptography/hazmat/primitives/cmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/cmac.py b/cryptography/hazmat/primitives/cmac.py
index fa463ae0..7ae5c118 100644
--- a/cryptography/hazmat/primitives/cmac.py
+++ b/cryptography/hazmat/primitives/cmac.py
@@ -21,7 +21,7 @@ from cryptography.hazmat.backends.interfaces import CMACBackend
from cryptography.hazmat.primitives import constant_time, interfaces
-@utils.register_interface(interfaces.CMACContext)
+@utils.register_interface(interfaces.MACContext)
class CMAC(object):
def __init__(self, algorithm, backend, ctx=None):
if not isinstance(backend, CMACBackend):