Message264068
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 |
|
Date |
User |
Action |
Args |
2016-04-23 19:27:42 | christian.heimes | set | recipients:
+ christian.heimes, gregory.p.smith |
2016-04-23 19:27:41 | christian.heimes | set | messageid: <1461439661.19.0.970129415182.issue26834@psf.upfronthosting.co.za> |
2016-04-23 19:27:41 | christian.heimes | link | issue26834 messages |
2016-04-23 19:27:41 | christian.heimes | create | |
|