]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun4i-ss - unify update/final function
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 10 Aug 2016 09:45:30 +0000 (11:45 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Aug 2016 09:16:56 +0000 (17:16 +0800)
commit323cfcd8e3595c294968e61a279b0cdbd5e5866c
tree64dcce7d4ac9f330b7891823f3394890c8e89833
parent0dac2bcd85fca8ae0f11ebf3ce4f42b4dedef324
crypto: sun4i-ss - unify update/final function

The update and final functions have lots of common action.
This patch mix them in one function.
This will give some improvements:
- This will permit asynchronous support more easily
- This will permit to use finup/digest functions with some performance
  improvements

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c
drivers/crypto/sunxi-ss/sun4i-ss.h