Re: [openssl-users] RSA sign using SHA256 with mgf1 padding

2016-09-02 Thread Dr. Stephen Henson
On Mon, Aug 29, 2016, Moshe Wiener (mowiener) wrote: > Hello, > I'm running an application which runs an authentication session with a > server. The server provides some random data, and my application needs to > sign it with its private key, and send back the signature. The server which > know

Re: [openssl-users] RSA sign using SHA256 with mgf1 padding

2016-09-01 Thread Blumenthal, Uri - 0553 - MITLL
And if you want to run it on OpenSSL-1.1, see the attached. ☺ --  Regards, Uri Blumenthal On 9/1/16, 6:18 , "openssl-users on behalf of mowiener" wrote: Many thanks Mounir, this is what I was looking for. \ openssl_pss_signature.c Description: Binary data smime.p7s Description: S/MIME cr

Re: [openssl-users] RSA sign using SHA256 with mgf1 padding

2016-09-01 Thread mowiener
Many thanks Mounir, this is what I swa looking for. -- View this message in context: http://openssl.6102.n7.nabble.com/RSA-sign-using-SHA256-with-mgf1-padding-tp68101p68152.html Sent from the OpenSSL - User mailing list archive at Nabble.com. -- openssl-users mailing list To unsubscribe: http

Re: [openssl-users] RSA sign using SHA256 with mgf1 padding

2016-08-31 Thread Mounir IDRASSI
Hi, I have written a sample few years ago that performs PSS signature using SHA256 like what you need. You can get it from https://www.idrix.fr/Root/Samples/openssl_pss_signature.c It uses the maximum salt length. You should check that the server expects this as well. Cheers, -- Mounir IDRASSI L