On Thu, May 15, 2014, Jan Danielsson wrote:
> Hello,
>
>Purely for a test case to see if a small wrapper library for
> EVP_DigestSign*() can output the exact same signature twice, I tried
> calling:
>
>if((rc = EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_NO_PADDING))
Hello,
Purely for a test case to see if a small wrapper library for
EVP_DigestSign*() can output the exact same signature twice, I tried
calling:
if((rc = EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_NO_PADDING)) <= 0) {
print("failed with %d\n", rc);
}
With plain
I see the point. Thanks alot
On Tue, Jul 20, 2010 at 12:47 AM, Mounir IDRASSI
wrote:
> Hi,
>
> When calling RSA_private_encrypt with RSA_NO_PADDING, the input must have
> the same size as the RSA key modulus.
> In your case, you are supplying 20 bytes whereas it certainly ne
Hi,
When calling RSA_private_encrypt with RSA_NO_PADDING, the input must
have the same size as the RSA key modulus.
In your case, you are supplying 20 bytes whereas it certainly needs more
(for example, for a 1024 bit key, input must be 128 bytes long). So, you
have to add some sort of
On Mon, Jul 19, 2010, anhpham wrote:
>
> Hi all :x
> I encountered an error when using function RSA_private_encrypt with
> RSA_NO_PADDING option.
> I had an unsigned char array a with length = 20, RSA* r,
> unsigned char* sig = (unsigned char*) malloc(RSA_size(r)) and then I
Hi all :x
I encountered an error when using function RSA_private_encrypt with
RSA_NO_PADDING option.
I had an unsigned char array a with length = 20, RSA* r,
unsigned char* sig = (unsigned char*) malloc(RSA_size(r)) and then I invoked
function int i = RSA_private_encrypt(20,a ,sign,r
20, a, signature, r,
RSA_NO_PADDING ) and I received i = -1. It means that an error occurred.
However when I invoked function int i = RSA_private_encrypt ( 20, a,
signature, r, RSA_NO_PADDING ), it run smoothly.
I was confused whether it's an error of library or not but I did not know
how to solve thi
Hello Christoph,
Christoph Hansen wrote:
I have a problem, I cannot really cover.
I'm using public key encryption together with RSA_NO_PADDING. The
Key-/Modulus-Size is 128Byte and the message to be encrypted are also
128Byte sized.
There exist choosen plain text attacks against RSA...
N
Hello,
I have a problem, I cannot really cover.
I'm using public key encryption together with RSA_NO_PADDING. The
Key-/Modulus-Size is 128Byte and the message to be encrypted are also
128Byte sized.
Now my problem:
Using the same (!) binary code (running in a debugging environment or no
eg Stark
[EMAIL PROTECTED]
==
- Original Message -
From: "Ryan Jarvis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 10:35 AM
Subject: RSA_NO_PADDING
> IS it possible to use RSA_NO_PADDING when calling RSA_public_encr
IS it possible to use RSA_NO_PADDING when calling RSA_public_encrypt?
I get a -1 returned from the RSA_public_encrypt() function?
Thanks
Ryan
__
OpenSSL Project http://www.openssl.org
User
IL PROTECTED]>
Sent: Wednesday, July 11, 2001 1:08 PM
Subject: Problems encrypting with RSA and RSA_NO_PADDING
> I am having problem encrytping and then decrypting messages using RSA
> withthe padding set to RSA_NO_PADDING. Most messages work, but some of
> them don't. By don't I mea
I am having problem encrytping and then decrypting messages using RSA
withthe padding set to RSA_NO_PADDING. Most messages work, but some of
them don't. By don't I mean the encryption/decryption process works fine
except that the decrypted message is nothnig like the original! I have
13 matches
Mail list logo