5 DH_size - get Diffie-Hellman prime size
9 #include <openssl/dh.h>
15 This function returns the Diffie-Hellman size in bytes. It can be used
16 to determine how much memory must be allocated for the shared secret
17 computed by DH_compute_key().
19 B<dh-E<gt>p> must not be B<NULL>.
27 L<dh(3)|dh(3)>, L<DH_generate_key(3)|DH_generate_key(3)>
31 DH_size() is available in all versions of SSLeay and OpenSSL.