skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: CRYPTO Application Programming Interface (API)... CRYPTO Application Programming Interface (API)...
go to previous page: DSA_sign DSA_sign
go to next page: engineengine
end of book navigation links


DSA_size
Description
Return Value
See Also
History
 

NAME

DSA_size - get DSA signature size

Synopsis  

#include <openssl/dsa.h>
int DSA_size(const DSA *dsa);


return to top DESCRIPTION  

This function returns the size of an ASN.1 encoded DSA signature in bytes. It can be used to determine how much memory must be allocated for a DSA signature.

dsa->q must not be NULL.


return to top RETURN VALUE  

The size in bytes.


return to top SEE ALSO  

dsa(3) , DSA_sign(3)


return to top HISTORY  

DSA_size() is available in all versions of SSLeay and OpenSSL.
go to previous page: DSA_sign DSA_sign
go to next page: engineengine