diff options
author | 2020-09-16 21:53:41 -0700 | |
---|---|---|
committer | 2020-09-22 06:48:54 -0700 | |
commit | 0c6a113b2446e7d4c6b8222fe63518dc2e01e8c1 (patch) | |
tree | 56b8d9fffcd165281face08e83a6991ce2d3c5df /tools/perf/scripts/python | |
parent | fscrypt: make fscrypt_set_test_dummy_encryption() take a 'const char *' (diff) | |
download | wireguard-linux-0c6a113b2446e7d4c6b8222fe63518dc2e01e8c1.tar.xz wireguard-linux-0c6a113b2446e7d4c6b8222fe63518dc2e01e8c1.zip |
fscrypt: use sha256() instead of open coding
Now that there's a library function that calculates the SHA-256 digest
of a buffer in one step, use it instead of sha256_init() +
sha256_update() + sha256_final().
Link: https://lore.kernel.org/r/20200917045341.324996-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions