OpenBSD manual page server

Manual Page Search Parameters

D2I_DHPARAMS(3) Library Functions Manual D2I_DHPARAMS(3)

d2i_DHparams, i2d_DHparamsPKCS#3 DH parameter functions

#include <openssl/dh.h>

DH *
d2i_DHparams(DH **a, unsigned char **pp, long length);

int
i2d_DHparams(DH *a, unsigned char **pp);

These functions decode and encode PKCS#3 DH parameters using the DHparameter structure described in PKCS#3. They otherwise behave in a way similar to d2i_X509(3) and i2d_X509(3).

d2i_X509(3), DH_new(3)

December 10, 2016 OpenBSD-6.1