aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2019-10-23 11:50:44 +0200
committerHerbert Xu <[email protected]>2019-11-01 13:38:31 +0800
commitf398243e9fd6a3a059c1ea7b380c40628dbf0c61 (patch)
tree7fbad1852deba37b65ae8453f7566828d3affbce /tools/perf/scripts/python/bin/stackcollapse-report
parent51d13aaf59779ff4d13f1def2c72ae102a1aad40 (diff)
crypto: ecdh - fix big endian bug in ECC library
The elliptic curve arithmetic library used by the EC-DH KPP implementation assumes big endian byte order, and unconditionally reverses the byte and word order of multi-limb quantities. On big endian systems, the byte reordering is not necessary, while the word ordering needs to be retained. So replace the __swab64() invocation with a call to be64_to_cpu() which should do the right thing for both little and big endian builds. Fixes: 3c4b23901a0c ("crypto: ecdh - Add ECDH software support") Cc: <[email protected]> # v4.9+ Signed-off-by: Ard Biesheuvel <[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