aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStefan Berger <[email protected]>2024-05-29 19:08:26 -0400
committerHerbert Xu <[email protected]>2024-06-07 19:46:39 +0800
commit2fd2a82ccbfc106aec314db6c4bda5e24fd32a22 (patch)
tree334d189cea46163530c96cb371f8c8502467a472 /tools/perf/scripts/python/export-to-sqlite.py
parent645211db1394f0607935dd43d907af7a12631907 (diff)
crypto: ecdsa - Use ecc_digits_from_bytes to create hash digits array
Since ecc_digits_from_bytes will provide zeros when an insufficient number of bytes are passed in the input byte array, use it to create the hash digits directly from the input byte array. This avoids going through an intermediate byte array (rawhash) that has the first few bytes filled with zeros. Signed-off-by: Stefan Berger <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions