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
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
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
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
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 knows the public
key verifies the signature, and it good then the cl
On Wed, Jul 20, 2016 at 12:19 AM, Dr. Stephen Henson wrote:
>
> If you want to hash and sign the hash you should use EVP functions such as
> EVP_DigestSign*() functions instead. If you already have the hash you can
> use RSA_sign (though EVP_PKEY_sign() is preferred) the type parameter in
> the N
On Tue, Jul 19, 2016, Gabriel Iva??cu wrote:
> Hi,
>
> I need to RSA sign a message using SHA256 as hash and PKCS1 v1.5 as padding.
>
> I am however confused about the *type* parameter of RSA_sign function [0]
>
> What is the value that I should use for *type* in my partic
Hi,
I need to RSA sign a message using SHA256 as hash and PKCS1 v1.5 as padding.
I am however confused about the *type* parameter of RSA_sign function [0]
What is the value that I should use for *type* in my particular case?
Thanks,
Gabriel
[0] https://www.openssl.org/docs/manmaster/crypto
dear all
i have a client server client application the server should created an
encrypted shared key and some data and make digest of both of them (data
and encrypted shared key) as an input to SHA1 then the server should sign
the output of the hash with function SignDigest() which include function
Hello,
> Also i'm planning to add support for other padding modes like
> RSA_PKCS1_OAEP_PADDING by manually adding the padding and using
> RSA_NO_PADDING when calling the function. Are there any security
> implications of doing this?
No, this is the way of doing this, but security implications
shou
Hi All
I'm trying to use RSA_private_encrypt/RSA_public_decrypt for low level
access to sign/verify operations.
The documentation for these functions state that RSA_PKCS1_PADDING and
RSA_NO_PADDING are the only supported padding modes, whereas when i look
at the source code (0.9.8b:crypto\rsa\rsa
11 matches
Mail list logo