[issue38132] Simplify hashlib implementation

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 0d7cb5bb291d8645824581ae570a394e3d221e5e by Miss Islington (bot) in branch '3.8': bpo-38132: Check EVP_DigestUpdate for error (GH-16041) https://github.com/python/cpython/commit/0d7cb5bb291d8645824581ae570a394e3d221e5e -- nosy:

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 8c74574e0aaf1a00719fbc9acbdc27a3923520aa by Stéphane Wirtel (Christian Heimes) in branch 'master': bpo-38132: Check EVP_DigestUpdate for error (GH-16041) https://github.com/python/cpython/commit/8c74574e0aaf1a00719fbc9acbdc27a3923520aa

[issue38132] Simplify hashlib implementation

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15670 pull_request: https://github.com/python/cpython/pull/16048 ___ Python tracker ___

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 67b90a079c39066aa9d51690fe5678c36ccbc258 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-38132: Simplify _hashopenssl code (GH-16023) (#16040) https://github.com/python/cpython/commit/67b90a079c39066aa9d51690fe5678c36ccbc258

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15663 pull_request: https://github.com/python/cpython/pull/16041 ___ Python tracker ___

[issue38132] Simplify hashlib implementation

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15662 pull_request: https://github.com/python/cpython/pull/16040 ___ Python tracker ___

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 5a4f82f457049b5b07b6fba4ca42bc1ecf597976 by Stéphane Wirtel (Christian Heimes) in branch 'master': bpo-38132: Simplify _hashopenssl code (GH-16023) https://github.com/python/cpython/commit/5a4f82f457049b5b07b6fba4ca42bc1ecf597976 --

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15646 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16023 ___ Python tracker

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Yes that would be awesome! Indeed hashlib has been a bit of a pain to work with especially with FIPS related modifications, simplifying it would help a ton. -- nosy: +cstratak ___ Python tracker

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Christian Heimes
New submission from Christian Heimes : The hashlib module uses complicated macros and some pointless optimization. The code can be simplified to make maintenance easier. Cleanup also makes it easier to get rid of static global state and to add "usedforsecurity" feature. * The EVPobject