diff options
author | Markus Stockhausen <stockhausen@collogia.de> | 2015-02-24 20:36:40 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-02 23:22:19 +1300 |
commit | 20f1b1f1f3bd594e05941fe9c7f50faab43ddbbf (patch) | |
tree | adba99c4879c7e01145aa3d21ee6be3774e2f16e /crypto/tcrypt.c | |
parent | 504c6143c53dfd140d42fe76d0faed1309c6d1b6 (diff) | |
download | linux-exynos-20f1b1f1f3bd594e05941fe9c7f50faab43ddbbf.tar.gz linux-exynos-20f1b1f1f3bd594e05941fe9c7f50faab43ddbbf.tar.bz2 linux-exynos-20f1b1f1f3bd594e05941fe9c7f50faab43ddbbf.zip |
crypto: powerpc/sha1 - assembler
This is the assembler code for SHA1 implementation with
the SIMD SPE instruction set. With the enhanced instruction
set we can operate on 2 32 bit words in parallel. That helps
reducing the time to calculate W16-W79. For increasing
performance even more the assembler function can compute
hashes for more than one 64 byte input block.
The state of the used SPE registers is preserved via the
stack so we can run from interrupt context. There might
be the case that we interrupt ourselves and push sensitive
data from another context onto our stack. Clear this area
in the stack afterwards to avoid information leakage.
The code is endian independant.
Signed-off-by: Markus Stockhausen <stockhausen@collogia.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions