diff options
| author | Eric Biggers <ebiggers@google.com> | 2020-07-08 09:39:41 -0700 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 21:49:05 +1000 |
| commit | 2164960df8f531a06805fdd28d41758ce7691f75 (patch) | |
| tree | 6c719c85acba95c2de5d3a0cca0329538eb76567 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | crypto: lib/sha256 - add sha256() function (diff) | |
| download | linux-2164960df8f531a06805fdd28d41758ce7691f75.tar.gz linux-2164960df8f531a06805fdd28d41758ce7691f75.zip | |
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 <ardb@kernel.org>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Cc: linux-efi@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
