mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
* KBKDF: add CounterLocation.MiddleFixed
* tests_kbkdf: add new tests
- Test CounterLocation.MiddleFixed and blocation=
* test_kbkdf_vectors: make use of MIDDLE_FIXED
* docs: document KBKDF CounterLocation.MiddleFixed
* s/blocation/break_location/g
* CHANGELOG: document KBKDF{HMAC,CMAC} CounterLocation.MiddleFixed #7489
* kbkdf: fixed is static across n iterations, only the counter changes
* kbkdf: check break_location is 0..len(fixed)
- Update tests to assert exception is raised when
break_location < 0 or > len(fixed)
- When asserting for "break_location is ignored when MiddleFixed",
use break_location=0 instead of =10,
to ensure we don't raise because of break_location > len(fixed)
- Assert that the right error messages are returned to the user.
* kbkdf: keyword-only break_location
* docs: document kw-only KBKDF{HMAC,CMAC}
|
||
|---|---|---|
| .. | ||
| bench | ||
| hazmat | ||
| hypothesis | ||
| wycheproof | ||
| x509 | ||
| __init__.py | ||
| conftest.py | ||
| deprecated_module.py | ||
| doubles.py | ||
| test_cryptography_utils.py | ||
| test_fernet.py | ||
| test_interfaces.py | ||
| test_meta.py | ||
| test_rust_utils.py | ||
| test_utils.py | ||
| test_warnings.py | ||
| utils.py | ||