Re: [PATCH] crypto: rsa - fix dst len

2016-04-15 Thread Herbert Xu
On Wed, Apr 06, 2016 at 02:42:32PM -0700, Tadeusz Struk wrote: > The output buffer length has to be at least as big as the key_size. > It is then updated to the actual output size by the implementation. > > Cc: > Signed-off-by: Tadeusz Struk Applied. -- Email: Herbert Xu Home Page: http://gon

[PATCH] crypto: rsa - fix dst len

2016-04-06 Thread Tadeusz Struk
The output buffer length has to be at least as big as the key_size. It is then updated to the actual output size by the implementation. Cc: Signed-off-by: Tadeusz Struk --- crypto/rsa-pkcs1pad.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto/rsa-pkcs1pad