commit | 41419a289010836bd759bf7e254fe041a3dc52d2 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Jan 14 19:57:29 2020 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jan 22 16:21:08 2020 +0800 |
tree | 0de2610ef1b1c74cac134047b470a18d36853b20 | |
parent | e0437dc6470c46a116aeb65769698dbc1487ed16 [diff] |
crypto: x86/sha - Eliminate casts on asm implementations In order to avoid CFI function prototype mismatches, this removes the casts on assembly implementations of sha1/256/512 accelerators. The safety checks from BUILD_BUG_ON() remain. Additionally, this renames various arguments for clarity, as suggested by Eric Biggers. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>