summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMarkus Stockhausen <stockhausen@collogia.de>2015-01-30 15:39:29 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-02-27 22:48:46 +1300
commitc147028ccc249681ef1129fb4b09f71fe6b75715 (patch)
treef1db3d62383317efeae18a54d019864abb49f566 /crypto
parent6bb71004aa84054058baf4e8a58a53c4e29e5b9c (diff)
downloadlinux-c147028ccc249681ef1129fb4b09f71fe6b75715.tar.gz
linux-c147028ccc249681ef1129fb4b09f71fe6b75715.tar.bz2
linux-c147028ccc249681ef1129fb4b09f71fe6b75715.zip
crypto: ppc/sha256 - 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 'crypto')
0 files changed, 0 insertions, 0 deletions