From e2c1c0fb8cb91b18597496b00df6a23b77f4affa Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Aug 2017 09:37:32 -0700 Subject: add blake2b/blake2s support for hmac (#3873) * add blake2b/blake2s support for hmac This was a bug, but it turns out the noise protocol suggests using the HMAC construction with BLAKE2 (rather than BLAKE2's own keyed functionality) for a few reasons, so we should support it. * actually test the thing --- CHANGELOG.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.rst') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db101a82..e346de55 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -34,6 +34,9 @@ Changelog raw value. * Added :meth:`~cryptography.x509.CertificateRevocationList.is_signature_valid` to :class:`~cryptography.x509.CertificateRevocationList`. +* Support :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and + :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` with + :class:`~cryptography.hazmat.primitives.hmac.HMAC`. .. _v2-0-3: -- cgit v1.2.3