diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2012-09-13 23:00:49 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-01-10 14:43:45 +1100 |
commit | 28621f6ebe80e7dcd9cabd05b507babf713a2071 (patch) | |
tree | a70787c396dec8e0d426bd21db0f3a55e85b0d35 /crypto/asymmetric_keys/public_key.c | |
parent | 1c11ed58397f048d8187222927092b397a149d70 (diff) | |
download | linux-crypto-28621f6ebe80e7dcd9cabd05b507babf713a2071.tar.gz linux-crypto-28621f6ebe80e7dcd9cabd05b507babf713a2071.zip |
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 <paulus@samba.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'crypto/asymmetric_keys/public_key.c')
0 files changed, 0 insertions, 0 deletions