Commit Graph

11 Commits (master)

Author SHA1 Message Date
David Garske 905682a036
Merge pull request #130 from mjdemilliano/add-hashdrbg-reseed
Random: add DRBG reseed support
2026-07-08 12:28:45 -07:00
Martijn de Milliano c1be234aa6 Process review comments:
- Update lib.pyi
- Remove obsolete comment from test_reseed_multiple
- Update HASHDRBG detection logic to match random.h
2026-07-07 19:14:59 +02:00
Robert de Vries 00c57b5e91 Rebased on master and fixed any (extra) issues found with ruff and ty. 2026-07-06 22:02:48 +02:00
Robert de Vries 747243cc50 Address more review comments.
Tests are now also type checked as this helps verifying the correctness
of the type annotations.
2026-07-06 22:02:48 +02:00
Robert de Vries 1fb34e5cd8 Address review comments and annotate overrides. 2026-07-06 22:02:48 +02:00
Robert de Vries 2081edd6d7 Add typing information to ciphers.py
This has some fallout in random.py to simplify checks.
Also one test is slightly adapted to produced the desired failure.
2026-07-06 22:02:48 +02:00
Robert de Vries d1ac3d5f37 Add typing: asn, exceptions, hashes, hkdf, pwdbased, utils. 2026-07-06 22:02:46 +02:00
Robert de Vries 61c7990be0 Addressed various review comments. 2026-04-20 22:37:07 +02:00
Robert de Vries 338a4839b9 Fix various review comments.
- Missing import in _ffi/__init__.py
- Updated docstring of t2b
- Reverted change to Random.__del__()
2026-04-17 23:20:15 +02:00
Robert de Vries 8448f41b42 Added ffi to all in _ffi/__init__.py
Removed unused import.
2026-04-17 23:20:15 +02:00
Robert de Vries 6e36bd3a24 Start adding typing information.
Initially only random.py and utils.py.
2026-04-17 23:20:15 +02:00