The first two patches fix some typos and remove unused function arguments.

The next three remove some unnecessary casts for the ecc keys.

The next two fix the max_size() implemtations for (ec)dh. They were missing
the check if the key was set.

The last one allows other algorithms to use the function that generates
ecc public keys.

Tudor Ambarus (8):
  crypto: kpp, (ec)dh - fix typos
  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: dh - fix dh_max_size
  crypto: ecdh - fix ecdh_max_size
  crypto: ecc - don't be selfish on pubkeys

 crypto/dh.c           |  6 +++---
 crypto/dh_helper.c    |  4 ++--
 crypto/ecc.c          | 32 ++++++++++++++------------------
 crypto/ecc.h          | 25 ++++++++++---------------
 crypto/ecdh.c         | 24 +++++++++++-------------
 crypto/ecdh_helper.c  |  4 ++--
 include/crypto/dh.h   |  4 ++--
 include/crypto/ecdh.h |  4 ++--
 include/crypto/kpp.h  |  4 ++--
 9 files changed, 48 insertions(+), 59 deletions(-)

-- 
2.7.4

Reply via email to