This set of patches shall clean up the confusion in restoring the ahash request context in crypto/ahash.c . The code was a bit refactored to make it easier to understand as well.
Please, make sure the code is well tested before applying. Also, please review very thoroughly. Marek Vasut (3): crypto: Fix the pointer voodoo in unaligned ahash crypto: Pull out the functions to save/restore request crypto: Simplify the ahash_finup implementation crypto/ahash.c | 172 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 110 insertions(+), 62 deletions(-) Cc: David S. Miller <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Tom Lendacky <[email protected]> -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
