David Garske
|
f0e3918d79
|
Deep copy crypto callback hashes with wolfCrypt copy functions and use wc_HmacCopy for HMAC digest
|
2026-10-21 11:18:49 -07:00 |
David Garske
|
cdfeacd5f2
|
Give each hash object its own crypto callback context across copy and free
|
2026-10-19 14:26:42 -07:00 |
David Garske
|
db57784506
|
Log crypto callback tracebacks, fail closed on handler errors and document the override contract
|
2026-10-19 12:53:48 -07:00 |
Robert de Vries
|
d884b75c6e
|
Address review comments
|
2026-10-19 12:17:21 -07:00 |
Robert de Vries
|
26041b75a0
|
Addressed review comments
* added various tests
* adapted hash interface to allow callbacks
|
2026-10-19 12:17:21 -07:00 |
Robert de Vries
|
e943b88b2f
|
Fix ruff errors and add type info.
|
2026-10-19 12:17:21 -07:00 |
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 |