GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DSA_SIZE(3) FreeBSD Library Functions Manual DSA_SIZE(3)

DSA_size, DSA_bitsget DSA signature or key size

#include <openssl/dsa.h>

int
DSA_size(const DSA *dsa);

int
DSA_bits(const DSA *dsa);

() returns the maximum size of an ASN.1 encoded DSA signature for the key dsa in bytes. It can be used to determine how much memory must be allocated for a DSA signature.

dsa->q must not be NULL.

() returns the number of significant bits in the public domain parameter p contained in dsa. This is also the number of bits in the public key.

DSA_size() returns the size of the signature in bytes.

DSA_bits() returns the size of the public key in bits.

DSA_get0_pqg(3), DSA_new(3), DSA_security_bits(3), DSA_sign(3)

DSA_size() first appeared in SSLeay 0.6.0 and has been available since OpenBSD 2.4.

DSA_bits() first appeared in OpenSSL 1.1.0 and has been available since OpenBSD 7.1.

July 13, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.