Re: [PATCH] crypto: rsa-padding - don't allocate buffer on stack

2015-12-22 Thread Herbert Xu
Andrew Zaborowski wrote: > Avoid the s390 compile "warning: 'pkcs1pad_encrypt_sign_complete' > uses dynamic stack allocation" reported by kbuild test robot. Don't > use a flat zero-filled buffer, instead zero the contents of the SGL. > > Signed-off-by: Andrew

[PATCH] crypto: rsa-padding - don't allocate buffer on stack

2015-12-11 Thread Andrew Zaborowski
Avoid the s390 compile "warning: 'pkcs1pad_encrypt_sign_complete' uses dynamic stack allocation" reported by kbuild test robot. Don't use a flat zero-filled buffer, instead zero the contents of the SGL. Signed-off-by: Andrew Zaborowski --- crypto/rsa-pkcs1pad.c |