Searched refs:dh_2048 (Results 1 – 2 of 2) sorted by relevance
111 DH *dh_2048; member
680 plgctx->dh_2048 = DH_new(); in pkinit_init_dh_params()681 if (plgctx->dh_2048 == NULL) in pkinit_init_dh_params()683 plgctx->dh_2048->p = BN_bin2bn(pkinit_2048_dhprime, in pkinit_init_dh_params()685 if ((plgctx->dh_2048->g = BN_new()) == NULL || in pkinit_init_dh_params()686 (plgctx->dh_2048->q = BN_new()) == NULL) in pkinit_init_dh_params()688 BN_set_word(plgctx->dh_2048->g, DH_GENERATOR_2); in pkinit_init_dh_params()689 BN_rshift1(plgctx->dh_2048->q, plgctx->dh_2048->p); in pkinit_init_dh_params()716 if (plgctx->dh_2048 != NULL) in pkinit_fini_dh_params()717 DH_free(plgctx->dh_2048); in pkinit_fini_dh_params()721 plgctx->dh_1024 = plgctx->dh_2048 = plgctx->dh_4096 = NULL; in pkinit_fini_dh_params()[all …]