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