diff options
| author | Eric Biggers <[email protected]> | 2020-07-08 09:39:41 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-07-16 21:49:05 +1000 |
| commit | 2164960df8f531a06805fdd28d41758ce7691f75 (patch) | |
| tree | 6c719c85acba95c2de5d3a0cca0329538eb76567 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9ea9c58b40a441a0babef8c615acedcfb3733919 (diff) | |
efi: use sha256() instead of open coding
Now that there's a function that calculates the SHA-256 digest of a
buffer in one step, use it instead of sha256_init() + sha256_update() +
sha256_final().
Reviewed-by: Ard Biesheuvel <[email protected]>
Tested-by: Hans de Goede <[email protected]>
Cc: [email protected]
Cc: Ard Biesheuvel <[email protected]>
Cc: 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions