Re: [PATCH 6/8] crypto: rsa - update accoring to akcipher API changes

2015-09-09 Thread Tadeusz Struk
On 09/09/2015 09:35 AM, Stephan Mueller wrote: >> +if (sg_is_last(req->dst)) { >> >+ ret = mpi_read_buffer(c, sg_virt(req->dst), dst_len, >> >+ &req->out_len, &sign); >> >+ } else { >> >+ void *ptr = kmalloc(dst_len, GFP_KERNEL); >> >+ >> >+

Re: [PATCH 6/8] crypto: rsa - update accoring to akcipher API changes

2015-09-09 Thread Stephan Mueller
Am Mittwoch, 9. September 2015, 09:15:32 schrieb Tadeusz Struk: Hi Tadeusz, >Rsa updates to reflect the API changes. > >Signed-off-by: Tadeusz Struk >--- > crypto/Makefile | 12 ++- > crypto/rsa.c | 188 >++--- crypto/rsa_helper

[PATCH 6/8] crypto: rsa - update accoring to akcipher API changes

2015-09-09 Thread Tadeusz Struk
Rsa updates to reflect the API changes. Signed-off-by: Tadeusz Struk --- crypto/Makefile | 12 ++- crypto/rsa.c | 188 ++--- crypto/rsa_helper.c | 42 - crypto/rsakey.asn1|5 - crypto/rsapri