Hi,
I am using openSSL 0.9.7b on PPC604 vxWorks Board.
During initilization of OpenSSL with DHparam file, following flow is used:
pDHParamfp /* file pointer to dhparam.pem file */
..
dh = PEM_read_DHparams(pDHParamfp, sdf_co_null, Sdf_co_null, Sdf_co_null);
..SSL_CTX_set_tmp_dh(pSslCtx, dh);
On embedded systems you must always consider where you can collect
'entropy' from. This is highly dependent on your hardware. Haven't
worked with vxWorks before, but given your description, the generic
rule for [embedded] systems applies here as well.
Feed OpenSSL 'sufficient' entropy using