]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40645: Implement HMAC in C (GH-20129)
authorChristian Heimes <christian@python.org>
Sun, 17 May 2020 11:49:10 +0000 (13:49 +0200)
committerGitHub <noreply@github.com>
Sun, 17 May 2020 11:49:10 +0000 (13:49 +0200)
commit54f2898fe7e4ca1f239e96284af3cc5b34d2ae02
tree39080535b3c75be9a15cf5d9664381e24fe9de6c
parent46545000c2a30b46aed717b546bc09e5bae7148f
bpo-40645: Implement HMAC in C (GH-20129)

The internal module ``_hashlib`` wraps and exposes OpenSSL's HMAC API. The
new code will be used in Python 3.10 after the internal implementation
details of the pure Python HMAC module are no longer part of the public API.

The code is based on a patch by Petr Viktorin for RHEL and Python 3.6.

Co-Authored-By: Petr Viktorin <encukou@gmail.com>
Lib/test/test_hmac.py
Misc/NEWS.d/next/Library/2020-05-16-17-05-02.bpo-40645.wYSkjT.rst [new file with mode: 0644]
Modules/_hashopenssl.c
Modules/clinic/_hashopenssl.c.h