diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2012-01-26 15:03:16 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-20 12:46:18 -0800 |
commit | f334f74575cb0d9463d39caf4a43483cfc3dd542 (patch) | |
tree | b28a9928d16ba2b9d398c0be84f43b861bb230d9 /crypto/crc32c.c | |
parent | 23cfecf97911af4ef38afd61879f030af0410755 (diff) |
crypto: sha512 - Use binary and instead of modulus
commit 58d7d18b5268febb8b1391c6dffc8e2aaa751fcd upstream.
The previous patch used the modulus operator over a power of 2
unnecessarily which may produce suboptimal binary code. This
patch changes changes them to binary ands instead.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions