diff options
| author | Eric Biggers <[email protected]> | 2020-07-08 09:39:42 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-07-16 21:49:05 +1000 |
| commit | 5a7a0d9400677a5e88fdb362c4d32171384068f2 (patch) | |
| tree | 3224f8dcdd70409b95f67104da91023986ff944c /tools/perf/scripts/python/bin | |
| parent | 2164960df8f531a06805fdd28d41758ce7691f75 (diff) | |
mptcp: 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]>
Acked-by: Matthieu Baerts <[email protected]>
Cc: [email protected]
Cc: Mat Martineau <[email protected]>
Cc: Matthieu Baerts <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions