aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-20 21:24:59 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-20 21:24:59 -0700
commitc34893c38c853ec341676337d26f5f10257b56b2 (patch)
tree0297b213105ad2a6f6de9859b2f0c393b7952273 /cryptography/hazmat/primitives/hmac.py
parent41b33b70d3f9c937d80c264627d1195692a17863 (diff)
parent126afca70edc3fac2e493c6b7cd05219c8d8e373 (diff)
downloadcryptography-c34893c38c853ec341676337d26f5f10257b56b2.tar.gz
cryptography-c34893c38c853ec341676337d26f5f10257b56b2.tar.bz2
cryptography-c34893c38c853ec341676337d26f5f10257b56b2.zip
Merge branch 'master' into multi-fernet
Diffstat (limited to 'cryptography/hazmat/primitives/hmac.py')
-rw-r--r--cryptography/hazmat/primitives/hmac.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/hazmat/primitives/hmac.py b/cryptography/hazmat/primitives/hmac.py
index 026ad3b3..23292432 100644
--- a/cryptography/hazmat/primitives/hmac.py
+++ b/cryptography/hazmat/primitives/hmac.py
@@ -21,6 +21,7 @@ from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives import constant_time, interfaces
+@utils.register_interface(interfaces.MACContext)
@utils.register_interface(interfaces.HashContext)
class HMAC(object):
def __init__(self, key, algorithm, backend, ctx=None):