Confused about argument dsa to DSA_sign()

2014-10-22 Thread Erik Leunissen
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

DSA_sign for etsi integrity check

2006-04-03 Thread manolo123 (sent by Nabble.com)
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

Re: DSA_sign()

2006-03-02 Thread Nils Larsch
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

Re: DSA_sign()

2006-03-02 Thread jimmy
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

Re: DSA_sign()

2006-03-02 Thread Julien Demoor
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

Re: DSA_sign()

2006-03-02 Thread jimmy
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

DSA_sign()

2006-03-01 Thread Julien Demoor
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

Re: DSA_sign maximum digest length?

2005-06-15 Thread Nils Larsch
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

Re: DSA_sign maximum digest length?

2005-06-15 Thread Andrey Warkentin
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

DSA_sign maximum digest length?

2005-06-14 Thread Andrey Warkentin
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

Usage of DSA parameters p, q and g with DSA_verify() and DSA_sign()

2005-04-27 Thread Erik Leunissen
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

Re: Usage of DSA parameters p, q and g with DSA_verify() and DSA_sign()

2005-04-27 Thread Nils Larsch
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