aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/crypto
diff options
context:
space:
mode:
authorMarkus Stockhausen <stockhausen@collogia.de>2015-02-24 20:36:45 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-02 23:22:20 +1300
commit50ba29aaa7b03a8a35ceba12c9fcf184148f4aeb (patch)
treee86cfc8ea6496b3327fb52a5c56de1441a7ad738 /arch/powerpc/crypto
parentcrypto: powerpc/sha1 - assembler (diff)
downloadlinux-dev-50ba29aaa7b03a8a35ceba12c9fcf184148f4aeb.tar.xz
linux-dev-50ba29aaa7b03a8a35ceba12c9fcf184148f4aeb.zip
crypto: powerpc/sha1 - glue
Glue code for crypto infrastructure. Call the assembler code where required. Disable preemption during calculation and enable SPE instructions in the kernel prior to the call. Avoid to disable preemption for too long. Take a little care about small input data. Kick out early for input chunks < 64 bytes and replace memset for context cleanup with simple loop. Signed-off-by: Markus Stockhausen <stockhausen@collogia.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc/crypto')
0 files changed, 0 insertions, 0 deletions