commit | 58d7d18b5268febb8b1391c6dffc8e2aaa751fcd | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jan 26 15:03:16 2012 +1100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jan 26 15:03:16 2012 +1100 |
tree | 18add451538ba5454656c09c35f4047d29f2869e | |
parent | 51fc6dc8f948047364f7d42a4ed89b416c6cc0a3 [diff] |
crypto: sha512 - Use binary and instead of modulus 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>