ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
DH_size(3) OpenSSL DH_size(3) NAME DH_size - get Diffie-Hellman prime size SYNOPSIS #include <openssl/dh.h> int DH_size(DH *dh); DESCRIPTION This function returns the Diffie-Hellman size in bytes. It can be used to determine how much memory must be allocated for the shared secret computed by DH_compute_key(). dh->p must not be NULL. RETURN VALUE The size in bytes. SEE ALSO dh(3), DH_generate_key(3) HISTORY DH_size() is available in all versions of SSLeay and OpenSSL. 0.9.7l 2000-02-24 DH_size(3) |