(self, key, msg=None, *, hashname)
| 397 | return self.hmac_new(key, msg, digestmod=openssl_func) |
| 398 | |
| 399 | def hmac_digest_by_name(self, key, msg=None, *, hashname): |
| 400 | self.assertIsInstance(hashname, str) |
| 401 | openssl_func = getattr(_hashlib, f"openssl_{hashname}") |
| 402 | return self.hmac_digest(key, msg, digestmod=openssl_func) |
| 403 | |
| 404 | |
| 405 | class BuiltinAssertersMixin(ThroughBuiltinAPIMixin, AssertersMixin): |
nothing calls this directly
no test coverage detected