summaryrefslogtreecommitdiff
path: root/include/crypto/hash.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-15 10:37:48 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-15 10:37:48 (GMT)
commitfaae890883624e14a328863eafabf54a36698774 (patch)
tree647d5c14ed5ced5e20792a591a79b0c7a207fdcb /include/crypto/hash.h
parentb5ebd44eb7559ea6135d536bafd02323d2ef0547 (diff)
downloadlinux-fsl-qoriq-faae890883624e14a328863eafabf54a36698774.tar.xz
crypto: padlock - Fix compile error on i386
The previous change to allow hashing from states other than the initial broke compilation on i386 because the inline assembly tried to squeeze a u64 into a 32-bit register. As we've already checked for 32-bit overflows we can simply truncate it to u32, or unsigned long so that we don't truncate at all on x86-64. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/hash.h')
0 files changed, 0 insertions, 0 deletions