On Wed, Feb 17, 2016 at 02:46:59PM +0100, Michal Marek wrote: > 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@xxxxxxxx> Applied. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html