android_kernel_motorola_sm6225/arch/mips/cavium-octeon
Paul Martin d2a948d2db MIPS: Octeon: Make octeon-md5 driver endian-agnostic
The octeon crypto co-processor expects values to be big endian.
Wrap the data transfers with cpu_to_be64() and be64_to_cpu()
transformations.

This passes for all the MD5 test vectors in crypto/testmgr.h

Signed-off-by: Paul Martin <paul.martin@codethink.co.uk>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9631/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-04-01 17:22:15 +02:00
..
crypto MIPS: Octeon: Make octeon-md5 driver endian-agnostic 2015-04-01 17:22:15 +02:00
executive MIPS: Octeon: Turn hardware bitfields and structures inside out. 2015-04-01 17:22:14 +02:00
cpu.c MIPS: Octeon: Place cnmips_cu2_setup in __init memory. 2010-10-04 18:34:00 +01:00
csrc-octeon.c MIPS: OCTEON: More OCTEONIII support 2015-02-20 15:32:46 +01:00
dma-octeon.c MIPS: OCTEON: Update octeon-model.h code for new SoCs. 2015-02-20 15:31:43 +01:00
flash_setup.c MIPS: OCTEON: Use device tree to probe for flash chips. 2015-04-01 17:21:43 +02:00
Kconfig treewide: Fix typos in Kconfig 2014-09-26 11:12:28 +02:00
Makefile MIPS: OCTEON: add crypto helper functions 2014-12-24 08:14:21 +11:00
oct_ilm.c MIPS: Octeon: remove unnecessary null test before debugfs_remove_recursive 2014-08-02 00:06:47 +02:00
octeon-irq.c MIPS: OCTEON: irq: add CIB and other fixes 2015-02-20 15:33:40 +01:00
octeon-memcpy.S MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
octeon-platform.c MIPS: Octeon: Set appropriate endianness in L2C registers 2015-04-01 17:22:14 +02:00
octeon_boot.h MIPS: Octeon: Handle bootloader structures in little-endian mode. 2015-04-01 17:21:23 +02:00
Platform MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC 2013-06-10 18:01:25 +02:00
setup.c MIPS: mark prom_free_prom_memory() everywhere with __init 2015-04-01 17:21:58 +02:00
smp.c MIPS: OCTEON: fix kernel crash when offlining a CPU 2015-01-29 23:48:29 +01:00