Hi, These are various fixes that I made while reading kpp and akcipher implementations. For KEYS there is only one patch. It checks the return value of crypto_akcipher_maxsize(). Changes in v2: - squash the patches that removed the unnecessary casts - add the last five patches v1 can be found at: http://www.mail-archive.com/linux-crypto@xxxxxxxxxxxxxxx/msg25139.html Tudor Ambarus (11): crypto: kpp, (ec)dh - fix typos crypto: ecc - remove unused function arguments crypto: ecc - remove unnecessary casts crypto: dh - fix dh_max_size crypto: ecdh - fix ecdh_max_size crypto: ecc - don't be selfish on pubkeys crypto: dh - fix memleak in setkey crypto: testmgr - check err on akcipher maxsize crypto: testmgr - check err on kpp maxsize crypto: KEYS: check err on akcipher maxsize crypto: rsa - do checks before allocating data crypto/asymmetric_keys/public_key.c | 5 +++++ crypto/dh.c | 9 ++++++--- crypto/dh_helper.c | 4 ++-- crypto/ecc.c | 32 ++++++++++++++------------------ crypto/ecc.h | 25 ++++++++++--------------- crypto/ecdh.c | 24 +++++++++++------------- crypto/ecdh_helper.c | 4 ++-- crypto/rsa.c | 16 ++++++---------- crypto/testmgr.c | 10 ++++++++++ include/crypto/dh.h | 4 ++-- include/crypto/ecdh.h | 4 ++-- include/crypto/kpp.h | 4 ++-- 12 files changed, 72 insertions(+), 69 deletions(-) -- 2.7.4