Skip to content
Snippets Groups Projects
Commit faae8908 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b5ebd44e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment