commit | faae890883624e14a328863eafabf54a36698774 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 15 18:37:48 2009 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 15 18:37:48 2009 +0800 |
tree | 647d5c14ed5ced5e20792a591a79b0c7a207fdcb | |
parent | b5ebd44eb7559ea6135d536bafd02323d2ef0547 [diff] |
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>