diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-05-11 18:53:36 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-13 10:31:59 +0800 |
commit | ca7fc7e962fa067ba31f76a6e5828537394f6481 (patch) | |
tree | e79e641598fdf90d30a76f9c761ab5041019f971 /drivers/crypto/omap-sham.c | |
parent | 42e8b0d7fed0628e21ec93e8cd547aef616e68f7 (diff) | |
download | op-kernel-dev-ca7fc7e962fa067ba31f76a6e5828537394f6481.zip op-kernel-dev-ca7fc7e962fa067ba31f76a6e5828537394f6481.tar.gz |
lib: correct 842 decompress for 32 bit
Avoid 64 bit mod operation, which won't work on 32 bit systems.
Simple subtraction can be used instead in this case.
Reported-By: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
0 files changed, 0 insertions, 0 deletions