Yuriy Chernyshov
9b9e819b51
gh-116116: Backport blake2 change to fix building with clang-cl on windows-i686 (GH-116117)
2024-03-04 16:59:57 +00:00
Hugo van Kemenade
d513ddee94
Trim trailing whitespace and test on CI ( #104275 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-08 17:03:52 +03:00
Max Bachmann
ea93bde4ec
gh-102027: Fix macro name ( #102124 )
...
This fixes the ssse3 / sse2 detection when sse4 is available.
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2023-03-22 14:44:28 +01:00
Christian Heimes
b16b6bb8da
bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)
2022-03-26 20:52:24 +01:00
Inada Naoki
068ebf9729
bpo-33164: blake2: Fix Coverity scan (GH-25060)
2021-03-30 12:25:28 +09:00
Inada Naoki
b27cbec801
bpo-37055: fix warnings in _blake2 module (GH-14646)
...
https://bugs.python.org/issue37055
Automerge-Triggered-By: @tiran
2019-08-26 10:52:36 -07:00
David Carlier
d8b7551672
bpo-33164: blake2 fix for HP-UX (GH-13633)
2019-05-29 19:58:11 +09:00
David Carlier
51aa35e9e1
bpo-33164: update blake2 implementation (GH-6286)
2019-05-23 13:32:44 +09:00
Lars Viklund
388cd85e51
Remove nested comments in blake2 ( #4173 )
...
Replace occurence of nested comments in blake2 reference implementation
with preprocessor directive for disabling unused code.
`blake2s-load-xop.h` is conditionally pulled in only on chips with XOP
support, among others the AMD Bulldozer. The malformed comments in the
source file breaks the build of `hashlib`'s `_blake2` on GCC 6.3.0.
Official reference code on github uses `#if` so this change should be
uncontroversial.
2017-11-01 12:23:09 +00:00
Christian Heimes
5940c535b0
Issue #26798 : Coverity complains about potential memcpy() of overlapped regions. It doesn't hurt to use memmove() here. CID 1372514 / CID 1372515. Upstream https://github.com/BLAKE2/BLAKE2/issues/32
2016-09-08 13:40:25 +02:00
Christian Heimes
dfb9ef1357
blake2: silence two more warnings on platforms with size_t < uint64_t. Don't use SSE2 when cross-compiling
2016-09-07 11:39:21 +02:00
Christian Heimes
dc5a3fe4ef
Issue #26798 : for loop initial declarations, take 3
2016-09-07 00:32:06 +02:00
Christian Heimes
9c2f304103
Issue #26798 : for loop initial declarations, take 2
2016-09-07 00:09:22 +02:00
Christian Heimes
87bf0febcb
Issue #26798 : for loop initial declarations are only allowed in C99 or C11 mode
2016-09-06 23:18:03 +02:00
Christian Heimes
121b9487d1
Issue #26798 : Add BLAKE2 (blake2b and blake2s) to hashlib.
2016-09-06 22:03:25 +02:00