OpenSSL DH_size(3openssl)
NNNNAAAAMMMMEEEEDH_size - get Diffie-Hellman prime size
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS#include
int DH_size(DH *dh);
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNThis function returns the Diffie-Hellman size in bytes. It
can be used to determine how much memory must be allocatedfor the shared secret computed by DH_compute_key().
ddddhhhh---->>>>pppp must not be NNNNUUUULLLLLLLL.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE The size in bytes. SSSSEEEEEEEE AAAALLLLSSSSOOOOdh(3), DH_generate_key(3)
HHHHIIIISSSSTTTTOOOORRRRYYYYDH_size() is available in all versions of SSLeay and
OpenSSL.24/Feb/2000 Last change: 0.9.8o 1