(self, key, msg, digestmod)
| 110 | _init_hmac = _init_openssl_hmac # for backward compatibility (if any) |
| 111 | |
| 112 | def _init_builtin_hmac(self, key, msg, digestmod): |
| 113 | self._hmac = _hmac.new(key, msg, digestmod=digestmod) |
| 114 | self._inner = self._outer = None # because the slots are defined |
| 115 | self.digest_size = self._hmac.digest_size |
| 116 | self.block_size = self._hmac.block_size |
| 117 | |
| 118 | def _init_old(self, key, msg, digestmod): |
| 119 | import warnings |