mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
aa6da32edc
Commit 93d50a6a8d / GH-21855 changed the
order of variable definitions, which introduced a potential invalid free
bug. Py_buffer object is now initialized earlier and the result of
Keccak initialize is verified.
Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
Keccak Code Package =================== The files in kcp are taken from the Keccak Code Package. They have been slightly to be C89 compatible. The architecture specific header file KeccakP-1600-SnP.h ha been renamed to KeccakP-1600-SnP-opt32.h or KeccakP-1600-SnP-opt64.h. The 64bit files were generated with generic64lc/libkeccak.a.pack target, the 32bit files with generic32lc/libkeccak.a.pack.