(
self, key, msg, hexdigest, digestmod, hashname, digest_size, block_size
)
| 814 | """ |
| 815 | |
| 816 | def assert_hmac_extra_cases( |
| 817 | self, key, msg, hexdigest, digestmod, hashname, digest_size, block_size |
| 818 | ): |
| 819 | # assert one-shot HMAC at the same time |
| 820 | with self.subTest(key=key, msg=msg, hashname=hashname): |
| 821 | func = getattr(self.hmac, f'compute_{hashname}') |
| 822 | self.assertTrue(callable(func)) |
| 823 | self.check_hmac_hexdigest(key, msg, hexdigest, digest_size, func) |
| 824 | |
| 825 | |
| 826 | class DigestModTestCaseMixin(CreatorMixin, DigestMixin): |
nothing calls this directly
no test coverage detected