mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Add a function sha256() which computes a SHA-256 digest in one step, combining sha256_init() + sha256_update() + sha256_final(). This is similar to how we also have blake2s(). Reviewed-by: Ard Biesheuvel <[email protected]> Tested-by: Hans de Goede <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>