Please sign in to comment.
crypto: sha1 - export sha1_update for reuse
Export the update function as crypto_sha1_update() to not have the need to reimplement the same algorithm for each SHA-1 implementation. This way the generic SHA-1 implementation can be used as fallback for other implementations that fail to run under certain circumstances, like the need for an FPU context while executing in IRQ context. Signed-off-by: Mathias Krause <firstname.lastname@example.org> Signed-off-by: Herbert Xu <email@example.com>
- Loading branch information...
Showing with 8 additions and 4 deletions.