On Tuesday 31 July 2001 12:24 pm, you wrote:

I understand that, but I am running a text file thru SHA-1, signing the 
SHA-1, and place the signature in the file, and then sending the file to 
another process on another machine.  This other process will then need to 
pull the signature out of the file.  If I know what the max size of the 
signature is, I can pad it and then place the signature in the file and send 
it so that the recieving application can always expect the same size 
signature.



> "Mark W. Webb" wrote:
> > I have a 1024 bit DSA key that I am using to sign a SHA-1 hash.  I need
> > to know what the maximum size of that signature that is generated.
>
> DSA_size(dsa_key) will give you this. However the actual signature may
> be smaller.
>
> Steve.

-- 
Mark Webb
Software Engineer
Dolphin Technology
1300B Floyd Ave
Rome, NY 13440
        
Phone: (315) 334-4892 x222
Fax: (315) 339-4846
Email: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to