Message351084
The SHAKE family functions are the first formally defined XOFs (eXtensible Output Functions), previous implementations such as MGF from PKCS#1 relies on ad-hoc construction.
In the current library, SHAKE-* are given digest-like interface, where their output has to be always obtained from the start; where as in reality, there exists applications that consumes such output progressively, such as deterministic key generation from fixed seed, and more specifically, as the random oracle used in Crystals-Dilithium post-quantum digital signature scheme.
Therefore, I'd like developers consider adding ``shake.read(len)'' function to support IO-like consumption in hashlib. |
|
Date |
User |
Action |
Args |
2019-09-03 12:48:26 | dannyniu | set | recipients:
+ dannyniu |
2019-09-03 12:48:26 | dannyniu | set | messageid: <1567514906.04.0.888108599586.issue38017@roundup.psfhosted.org> |
2019-09-03 12:48:25 | dannyniu | link | issue38017 messages |
2019-09-03 12:48:25 | dannyniu | create | |
|