From: Michael Ellerman Date: Thu, 13 Sep 2012 23:00:49 +0000 (+0000) Subject: powerpc: Add a powerpc implementation of SHA-1 X-Git-Tag: v3.9-rc1~100^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323a6bf1d6f4ec7907d9d8aacb4ae9590f755dda;p=pandora-kernel.git powerpc: Add a powerpc implementation of SHA-1 This patch adds a crypto driver which provides a powerpc accelerated implementation of SHA-1, accelerated in that it is written in asm. Original patch by Paul, minor fixups for upstream by moi. Lightly tested on 64-bit with the test program here: http://michael.ellerman.id.au/files/junkcode/sha1test.c Seems to work, and is "not slower" than the generic version. Needs testing on 32-bit. Signed-off-by: Paul Mackerras Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed