(self, key, msg, digestmod)
| 100 | _init_hmac = _init_openssl_hmac # for backward compatibility (if any) |
| 101 | |
| 102 | def _init_builtin_hmac(self, key, msg, digestmod): |
| 103 | self._hmac = _hmac.new(key, msg, digestmod=digestmod) |
| 104 | self._inner = self._outer = None # because the slots are defined |
| 105 | self.digest_size = self._hmac.digest_size |
| 106 | self.block_size = self._hmac.block_size |
| 107 | |
| 108 | def _init_old(self, key, msg, digestmod): |
| 109 | import warnings |