summaryrefslogtreecommitdiff
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2012-01-14 21:44:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-01-15 12:42:14 +1100
commit9338f479733f0a2895f53277eb1e9a546e26f791 (patch)
tree1ff4311a32cb6050ec2168d7cef6e3b9d00b0ca3 /crypto/async_tx
parent9bca333b83d8717e1487400bbb23757105fc9c3a (diff)
downloadlinux-crypto-9338f479733f0a2895f53277eb1e9a546e26f791.tar.gz
linux-crypto-9338f479733f0a2895f53277eb1e9a546e26f791.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 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions