This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gregory.p.smith
Date 2016-04-23.19:27:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461439661.19.0.970129415182.issue26834@psf.upfronthosting.co.za>
In-reply-to
Content
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 tp_new to the types and removed the old factory methods. Now it is possible to instantiate the types.

The code is also in my github fork https://github.com/tiran/cpython/tree/feature/sha512truncated
History
Date User Action Args
2016-04-23 19:27:42christian.heimessetrecipients: + christian.heimes, gregory.p.smith
2016-04-23 19:27:41christian.heimessetmessageid: <1461439661.19.0.970129415182.issue26834@psf.upfronthosting.co.za>
2016-04-23 19:27:41christian.heimeslinkissue26834 messages
2016-04-23 19:27:41christian.heimescreate