diff options
author | Nicolas Pitre <nico@cam.org> | 2005-11-12 19:17:33 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-09 17:15:46 -0500 |
commit | fa9b98fdab5b57ecb4dd3d6c2489e262af458c44 (patch) | |
tree | 454d374f957985d5931378d86090b6aca5bbc877 /drivers/cpufreq/Kconfig | |
parent | 9d70a6c86cd86e111291bd0d506028ecb9649923 (diff) |
[CRYPTO] sha1: Avoid shifting count left and right
This patch avoids shifting the count left and right needlessly for each
call to sha1_update(). It instead can be done only once at the end in
sha1_final().
Keeping the previous test example (sha1_update() successively called with
len=64), a 1.3% performance increase can be observed on i386, or 0.2% on
ARM. The generated code is also smaller on ARM.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
0 files changed, 0 insertions, 0 deletions