Searched refs:hmac_name (Results 1 – 2 of 2) sorted by relevance
33 def __new__(cls, hmac_name, bases, dct): argument34 hash_name = hmac_name[5:] # remove leading "Hmac_"35 if hmac_name != "_GenericHMAC":40 the_class = super(_GenericHMACMetaclass, cls).__new__(cls, hmac_name,42 if hmac_name != "_GenericHMAC":
55 hmac_name = "HMAC-%s" % hash_name56 hmac_alg = _tls_hmac_algs.get(hmac_name)