From: Paul Martin Date: Mon, 30 Mar 2015 16:01:00 +0000 (+0100) Subject: MIPS: Octeon: Make octeon-md5 driver endian-agnostic X-Git-Tag: omap-for-v4.2/o2_dc~101^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a948d2db68bda8780df636cf6390748953793f;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9631/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed