(
self, key, msg, hexdigest, digestmod, hashname, digest_size, block_size
)
| 855 | """ |
| 856 | |
| 857 | def assert_hmac_extra_cases( |
| 858 | self, key, msg, hexdigest, digestmod, hashname, digest_size, block_size |
| 859 | ): |
| 860 | # assert one-shot HMAC at the same time |
| 861 | with self.subTest(key=key, msg=msg, hashname=hashname): |
| 862 | func = getattr(self.hmac, f'compute_{hashname}') |
| 863 | self.assertTrue(callable(func)) |
| 864 | self.check_hmac_hexdigest(key, msg, hexdigest, digest_size, func) |
| 865 | |
| 866 | |
| 867 | class DigestModTestCaseMixin(CreatorMixin, DigestMixin): |
nothing calls this directly
no test coverage detected