Check a HMAC digest computed by hmac_digest().
(
self, key, msg, hexdigest, digestmod, digest_size,
)
| 326 | hmac_new_feed(None) |
| 327 | |
| 328 | def assert_hmac_hexdigest( |
| 329 | self, key, msg, hexdigest, digestmod, digest_size, |
| 330 | ): |
| 331 | """Check a HMAC digest computed by hmac_digest().""" |
| 332 | self.check_hmac_hexdigest( |
| 333 | key, msg, hexdigest, digest_size, |
| 334 | hmac_digest_func=self.hmac_digest, |
| 335 | hmac_digest_kwds={'digestmod': digestmod}, |
| 336 | ) |
| 337 | |
| 338 | def assert_hmac_hexdigest_by_name( |
| 339 | self, key, msg, hexdigest, hashname, digest_size |
no test coverage detected