Re: [PATCH v2 4/6] crypto: ecdsa: add ECDSA SW implementation

2017-02-05 Thread Stephan Müller
Am Freitag, 3. Februar 2017, 16:42:53 CET schrieb Nitin Kumbhar: Hi Nitin, > + > +int ecdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, > + unsigned int keylen) > +{ > + struct ecdsa_ctx *ctx = ecdsa_get_ctx(tfm); > + struct ecdsa params; > + unsigned i

[PATCH v2 4/6] crypto: ecdsa: add ECDSA SW implementation

2017-02-03 Thread Nitin Kumbhar
This adds support for ECDSA algorithm. This implementation supports sign and verify functions for ECDSA algorithm using akcipher. As ECDSA is a signing algorithm dummy functions are added for encrypt() and decrypt(). Helper routines for parsing public and private ECC keys for ECDSA are added as we