You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Speed up KangarooTwelve by 50% for long messages (1MB or more).
New parameter threads for Crypto.Hash.KangarooTwelve.new(),
to hash long messages on several CPU cores (threads=0 for all of them).
The output does not depend on the number of threads.
Resolved issues
GH#875: Fixed the Object Identifiers (OID) for BLAKE2.
Fixed a potential DOS attack when decrypting a password-encrypted PKCS#8 key,
when the iteration count is enourmous. Decryption will now fail if it exceeds
50M iterations; the limit can be changed or removed via
the new max_iteration_count option. Thanks to afldl for reporting.
Fixed the maximum number of bytes that GCM should encrypt. Thanks to Loganaden Velvindron.
Fixed ECC operations on 32-bit Windows (x86) wheels: due to a compiler bug in
Visual Studio 2022, the modular inversion skipped half of the exponent bits,
producing wrong results.
Fixed a bug in KangarooTwelve in the scenario where customization string is very
long (8190 bytes or longer) and the message to hash is empty.
Other changes
Build Windows wheel with Visual Studio 2022, from Visual Studio 2019.