[issue32433] Provide optimized HMAC digest

2018-01-27 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue32433] Provide optimized HMAC digest

2018-01-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2f050c7e1b36bf641e7023f7b28b451454c6b98a by Christian Heimes in branch 'master': bpo-32433: Optimized HMAC digest (#5023) https://github.com/python/cpython/commit/2f050c7e1b36bf641e7023f7b28b451454c6b98a -- __

[issue32433] Provide optimized HMAC digest

2017-12-27 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +4913 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue32433] Provide optimized HMAC digest

2017-12-27 Thread Christian Heimes
New submission from Christian Heimes : hmac.HMAC's flexibility comes with a cost. To create the MAC of a message, it has to create between three and four hash instances (inner, outer, key for long keys, result), multiple bound method objects and other temporary objects. For short messages, mem