diff options
| author | Eric Biggers <[email protected]> | 2020-07-08 09:39:40 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-07-16 21:49:05 +1000 |
| commit | 9ea9c58b40a441a0babef8c615acedcfb3733919 (patch) | |
| tree | dc3f3877b658e2a9ce6432550e0e5a6d22095d75 /tools/perf/scripts/python | |
| parent | 6e8f972fc3fb03797abb88feee6704dccada93f6 (diff) | |
crypto: lib/sha256 - add sha256() function
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions