aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2012-01-26 04:03:16 +0000
committerHerbert Xu <[email protected]>2012-01-26 04:03:16 +0000
commit58d7d18b5268febb8b1391c6dffc8e2aaa751fcd (patch)
tree18add451538ba5454656c09c35f4047d29f2869e /lib/mpi/mpi-bit.c
parentcrypto: sha512 - reduce stack usage to safe number (diff)
downloadkernel-58d7d18b5268febb8b1391c6dffc8e2aaa751fcd.tar.gz
kernel-58d7d18b5268febb8b1391c6dffc8e2aaa751fcd.zip
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 <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions