RE: RSA decryption output length

2016-02-09 Thread Tudor-Dan Ambarus
, 2016 7:46 PM To: Tudor-Dan Ambarus; linux-crypto@vger.kernel.org Subject: Re: RSA decryption output length Hi Tudor-Dan, On 02/05/2016 07:25 AM, Tudor-Dan Ambarus wrote: > I see that in qat, if the RSA decryption output data has the first octets of > value zero, you skip them, actualize the d

Re: RSA decryption output length

2016-02-05 Thread Tadeusz Struk
Hi Tudor-Dan, On 02/05/2016 07:25 AM, Tudor-Dan Ambarus wrote: > I see that in qat, if the RSA decryption output data has the first octets of > value zero, you skip them, actualize the dst_len and memmove the decrypted > data to the initial pointer (see [1]). Why do you do this? Why can't you kee