bpo-32433: Optimized HMAC digest (#5023)
authorChristian Heimes <christian@python.org>
Sat, 27 Jan 2018 08:53:43 +0000 (09:53 +0100)
committerGitHub <noreply@github.com>
Sat, 27 Jan 2018 08:53:43 +0000 (09:53 +0100)
commit2f050c7e1b36bf641e7023f7b28b451454c6b98a
tree01ee725ca174b0e7f1ba6f160916f891bebb5a38
parenta49ac9902903a798fab4970ccf563c531199c3f8
bpo-32433: Optimized HMAC digest (#5023)

The hmac module now has hmac.digest(), which provides an optimized HMAC
digest for short messages. hmac.digest() is up to three times faster
than hmac.HMAC().digest().

Signed-off-by: Christian Heimes <christian@python.org>
Doc/library/hmac.rst
Doc/whatsnew/3.7.rst
Lib/hmac.py
Lib/test/test_hmac.py
Misc/NEWS.d/next/Library/2017-12-27-20-09-27.bpo-32433.vmxsVI.rst [new file with mode: 0644]
Modules/_hashopenssl.c
Modules/clinic/_hashopenssl.c.h