diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-11-03 19:55:54 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2017-11-03 19:55:54 (GMT) |
commit | a512493371a073e252a2e52b445aa2d66ddca7cb (patch) | |
tree | b2aaa4eb48e135716f0b882c88adde3b5be51b5f /Lib/test/test_curses.py | |
parent | ea80ae04e2ec68c7e289048d3224a24b3c3fb107 (diff) | |
download | cpython-a512493371a073e252a2e52b445aa2d66ddca7cb.zip cpython-a512493371a073e252a2e52b445aa2d66ddca7cb.tar.gz cpython-a512493371a073e252a2e52b445aa2d66ddca7cb.tar.bz2 |
bpo-31933: fix blake2 multi-byte params on big endian platforms (GH-4250) (#4262)
All Blake2 params have to be encoded in little-endian byte order. For
the two multi-byte integer params, leaf_length and node_offset, that
means that assigning a native-endian integer to them appears to work on
little-endian platforms, but gives the wrong result on big-endian. The
current libb2 API doesn't make that very clear, and @sneves is working
on new API functions in the GH issue above. In the meantime, we can work
around the problem by explicitly assigning little-endian values to the
parameter block.
See https://github.com/BLAKE2/libb2/issues/12.
(cherry picked from commit dcfb0e3c04f1b29a0d09bb0a81dcd5ee5a5fef1a)
Diffstat (limited to 'Lib/test/test_curses.py')
0 files changed, 0 insertions, 0 deletions