diff options
author | Markus Stockhausen <stockhausen@collogia.de> | 2015-01-30 15:39:29 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-02-27 22:48:46 +1300 |
commit | c147028ccc249681ef1129fb4b09f71fe6b75715 (patch) | |
tree | f1db3d62383317efeae18a54d019864abb49f566 /crypto | |
parent | 6bb71004aa84054058baf4e8a58a53c4e29e5b9c (diff) | |
download | linux-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