]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hash - Pull out the functions to save/restore request
authorMarek Vasut <marex@denx.de>
Fri, 14 Mar 2014 01:37:05 +0000 (02:37 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Mar 2014 13:54:21 +0000 (21:54 +0800)
commitf847745a79577c628eeb6ce5b29c3aa6fce9805d
treed125f7d9bde442e04cf1bd6433f7d4136660b4f6
parentf11ae1c45db6f35d3bc9ebeaaa85d69acf0f41f6
crypto: hash - Pull out the functions to save/restore request

The functions to save original request within a newly adjusted request
and it's counterpart to restore the original request can be re-used by
more code in the crypto/ahash.c file. Pull these functions out from the
code so they're available.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c