diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-10-20 16:48:59 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-10-20 16:48:59 -0700 |
commit | 126afca70edc3fac2e493c6b7cd05219c8d8e373 (patch) | |
tree | e4c0081f7f153eb551b284d45ab945d851b26af1 /cryptography/hazmat/primitives/cmac.py | |
parent | a31e26f0dca915ccbb2e5e87a929b6bbc154c3c3 (diff) | |
parent | 7d15688fe0c64d324691fc3886bcc9a5cdba62d1 (diff) | |
download | cryptography-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.py | 2 |
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): |