]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha1-generic - move to generic glue implementation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 9 Apr 2015 10:55:36 +0000 (12:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 Apr 2015 13:39:40 +0000 (21:39 +0800)
commit2cc8ed9d70160cb2c9121ff466853f1bd1e2cc8d
treedad64c5f6a8469f047f6249463a78fae1999ab93
parent7500454d9d85d02cbb7019f10f8ca942e90cdb22
crypto: sha1-generic - move to generic glue implementation

This updated the generic SHA-1 implementation to use the generic
shared SHA-1 glue code.

It also implements a .finup hook crypto_sha1_finup() and exports
it to other modules. The import and export() functions and the
.statesize member are dropped, since the default implementation
is perfectly suitable for this module.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha1_generic.c
include/crypto/sha.h