]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132388: Increase test coverage for HMAC (#132389)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 12 Apr 2025 17:43:11 +0000 (19:43 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Apr 2025 17:43:11 +0000 (17:43 +0000)
commit9634085af3670b1eb654e3c7820aca66f358f39f
treeabd2125e2b5925ba649687ab4e22d909a8ec8204
parent842ab815177549b9d4bec576d8f2c8f240b63506
gh-132388: Increase test coverage for HMAC (#132389)

- Correctly test missing `digestmod` and `digest` parameters.
- Test when chunks of length > 2048 are passed to `update()`.
- Test one-shot HMAC-BLAKE2.
Lib/hmac.py
Lib/test/test_hmac.py