Lines Matching defs:HMAC
0 """HMAC (Keyed-Hashing for Message Authentication) module.
3 Implements the HMAC algorithm as described by RFC 2104.
22 # The size of the digests returned by HMAC depends on the underlying
23 # hashing module used. Use digest_size from the instance of HMAC instead.
27 class HMAC:
28 """RFC 2104 HMAC class. Also complies with RFC 4231.
32 blocksize = 64 # 512-bit HMAC; can be changed in subclasses.
39 """Create a new HMAC object.
184 return HMAC(key, msg, digestmod)
188 """Fast inline implementation of HMAC.