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:48:12 -0800 |
commit | d122aed32ad780e0c337551121c36a5d5e1c2ee0 (patch) | |
tree | 1b76f8a32d9a5ad20507e790f17674e953f41e4c /crypto/async_tx/async_tx.c | |
parent | 0f74c152fd01e1070c141eb10c70cc0f6fb39e22 (diff) | |
download | kernel_samsung_smdk4412-d122aed32ad780e0c337551121c36a5d5e1c2ee0.zip kernel_samsung_smdk4412-d122aed32ad780e0c337551121c36a5d5e1c2ee0.tar.gz kernel_samsung_smdk4412-d122aed32ad780e0c337551121c36a5d5e1c2ee0.tar.bz2 |
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/async_tx/async_tx.c')
0 files changed, 0 insertions, 0 deletions