This patch set adds support for the second and third RSA private key representations and extends caampkc to use the fastest key when all related components are present in the private key. Additionally a rsa tcrypt test has been added. Radu Alexe (4): crypto: tcrypt - include rsa test crypto: caampkc - incapsulate dropping leading zeros into function crypto: caampkc - add support for RSA key form 2 crypto: cammpkc - add support for RSA key form 3 Tudor Ambarus (1): crypto: caampkc - avoid kzalloc(0) in caam_read_raw_data crypto/tcrypt.c | 6 +- drivers/crypto/caam/caampkc.c | 463 +++++++++++++++++++++++++++++++++++++++-- drivers/crypto/caam/caampkc.h | 58 ++++++ drivers/crypto/caam/pdb.h | 62 ++++++ drivers/crypto/caam/pkc_desc.c | 36 ++++ 5 files changed, 603 insertions(+), 22 deletions(-) -- 2.12.0.264.gd6db3f216544