[issue26834] Add truncated SHA512/224 and SHA512/256

2021-10-21 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 1.1.1 comes with sha512_256 and sha512_224. I propose that we use the OpenSSL implementation and don't add the variants to our _sha512 module. >>> hashlib.new("sha512_256").hexdigest()

[issue26834] Add truncated SHA512/224 and SHA512/256

2020-08-07 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26834] Add truncated SHA512/224 and SHA512/256

2018-05-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___

[issue26834] Add truncated SHA512/224 and SHA512/256

2018-05-02 Thread Nick Timkovich
Nick Timkovich added the comment: Was this patch mostly ready to go? The additional SHA512 variants are appealing because they run ~40% faster than SHA256 on 64-bit hardware for longer messages. -- nosy: +nicktimko ___

[issue26834] Add truncated SHA512/224 and SHA512/256

2016-05-26 Thread Martin Panter
Martin Panter added the comment: Would it be appropriate to mention these hashes higher up in the documentation, e.g. where it lists the names of the always-present constructors? I haven’t had a close look at the C code. It looks like you are also adding better multithreading support for

[issue26834] Add truncated SHA512/224 and SHA512/256

2016-04-23 Thread Christian Heimes
New submission from Christian Heimes: SHA512/224 and SHA512/256 are truncated versions of SHA512. Just like SHA384 they use the same algorithm but different initial values and a smaller digest. I took the start vectors and test values from libtomcrypt. Like in my blake2 branch I have add