(key, msg, hexdigests)
| 497 | |
| 498 | def _test_sha2_rfc4231(self, hashfunc, hashname, digest_size, block_size): |
| 499 | def hmactest(key, msg, hexdigests): |
| 500 | hexdigest = hexdigests[hashname] |
| 501 | |
| 502 | self.assert_hmac( |
| 503 | key, msg, hexdigest, |
| 504 | hashfunc=hashfunc, |
| 505 | hashname=hashname, |
| 506 | digest_size=digest_size, |
| 507 | block_size=block_size |
| 508 | ) |
| 509 | |
| 510 | # 4.2. Test Case 1 |
| 511 | hmactest(key=b'\x0b' * 20, |
nothing calls this directly
no test coverage detected