diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2012-01-14 19:44:49 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-02-16 05:12:33 +0100 |
commit | f2ea0f5f04c97b48c88edccba52b0682fbe45087 (patch) | |
tree | 53ee15dd4d1a2122d0e571dc8263353acb54f333 /lib/locking-selftest-softirq.h | |
parent | crypto: sha512 - Avoid stack bloat on i386 (diff) | |
download | linux-f2ea0f5f04c97b48c88edccba52b0682fbe45087.tar.xz linux-f2ea0f5f04c97b48c88edccba52b0682fbe45087.zip |
crypto: sha512 - use standard ror64()
Use standard ror64() instead of hand-written.
There is no standard ror64, so create it.
The difference is shift value being "unsigned int" instead of uint64_t
(for which there is no reason). gcc starts to emit native ROR instructions
which it doesn't do for some reason currently. This should make the code
faster.
Patch survives in-tree crypto test and ping flood with hmac(sha512) on.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions