ecc software implementation works with chunks of u64 data. There were some unnecessary casts to u8 and then back to u64 for the ecc keys. Remove the unncessary casts.
Tudor Ambarus (4): crypto: ecc - remove unused function arguments crypto: ecc - remove casts in ecdh_make_pub_key crypto: ecc - remove casts in crypto_ecdh_shared_secret crypto: ecc - remove casts in ecc_is_key_valid crypto/ecc.c | 30 +++++++++++++----------------- crypto/ecc.h | 15 ++++----------- crypto/ecdh.c | 12 +++++------- 3 files changed, 22 insertions(+), 35 deletions(-) -- 2.7.4