Hi all,
The documentation of DSA_sign(3) says:
DSA_sign() computes a digital signature on the len byte message digest
dgst using the private key dsa ...
The formulation the private key dsa confuses me because:
- the variable dsa is of type pointer to struct DSA, where the struct
has
hi,
i am trying to create digital signature for etsi.
The max length of signature that i can use is 20 bytes.
Using DSA_sign returns signature length of 48 bytes (dsa size).
How can i create digital signature with size of up to 20 characters
Thanks
--
View this message in context:
http
Julien Demoor wrote:
Hello,
I'm getting an error with the DSA_sign() function : data too large for
key size. I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest. I can't find what the correct digest format
is, nor if anything else may lead to that error.
DSA_sign
Julien Demoor wrote:
Hello,
I'm getting an error with the DSA_sign() function : data too large for
key size. I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest.
I think the acceptable size would be size of 'q' in ur dsa key and i
guess the o/p of the sha digest
jimmy wrote:
Julien Demoor wrote:
Hello,
I'm getting an error with the DSA_sign() function : data too large for
key size. I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest.
I think the acceptable size would be size of 'q' in ur dsa key and i
guess the o/p
Julien Demoor wrote:
jimmy wrote:
Julien Demoor wrote:
Hello,
I'm getting an error with the DSA_sign() function : data too large for
key size. I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest.
I think the acceptable size would be size of 'q' in ur dsa key
Hello,
I'm getting an error with the DSA_sign() function : data too large for
key size. I have inputed a 40-byte-long string representing a
hexadecimal SHA-1 digest. I can't find what the correct digest format
is, nor if anything else may lead to that error.
Any help will be greatly appreciated
Andrey Warkentin wrote:
Hi everybody,
I am not at all familiar with OpenSSL or DSA, but I was tinkering around
trying to get
DSA_sign/DSA_verify to work. I've stumbled upon a peculiar issue I have
not seen brought
up anywhere else, or documented. Somehow I am not able to sign messages
longer
or DSA, but I was tinkering around
trying to get
DSA_sign/DSA_verify to work. I've stumbled upon a peculiar issue I have
not seen brought
up anywhere else, or documented. Somehow I am not able to sign messages
longer than 20 bytes.
The error message I am getting back is
error:0A070064
Hi everybody,
I am not at all familiar with OpenSSL or DSA, but I was tinkering around trying to get
DSA_sign/DSA_verify to work. I've stumbled upon a peculiar issue I have not seen brought
up anywhere else, or documented. Somehow I am not able to sign messages longer than 20 bytes.
The error
L.S.
It is unclear to me whether a DSA object used for signing (using
DSA_sign() ), need the parameters p, q and g filled in, or just the
private key?
An analogous question regarding a DSA object used for verifying (using
DSA_verify() ). Does it need the parameters filled in or just the public
Erik Leunissen wrote:
L.S.
It is unclear to me whether a DSA object used for signing (using
DSA_sign() ), need the parameters p, q and g filled in, or just the
private key?
An analogous question regarding a DSA object used for verifying (using
DSA_verify() ). Does it need the parameters filled
12 matches
Mail list logo