diff options
| author | Michal Marek <mmarek@suse.com> | 2016-02-17 14:46:59 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-22 16:23:44 +0100 |
| commit | 8b2f8ad002b4927578593f0ecaa89663b01e7815 (patch) | |
| tree | a7f379b706ccf3249ff4c8d3626b18a12fd20f68 /scripts/diffconfig | |
| parent | 41aeb7c62d202405f6b245dd2e26147c4a9b8601 (diff) | |
lib/mpi: Endianness fix
The limbs are integers in the host endianness, so we can't simply
iterate over the individual bytes. The current code happens to work on
little-endian, because the order of the limbs in the MPI array is the
same as the order of the bytes in each limb, but it breaks on
big-endian.
Fixes: 0f74fbf77d45 ("MPI: Fix mpi_read_buffer")
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions
