Searched refs:dh_4096 (Results 1 – 2 of 2) sorted by relevance
112 DH *dh_4096; member
691 plgctx->dh_4096 = DH_new(); in pkinit_init_dh_params()692 if (plgctx->dh_4096 == NULL) in pkinit_init_dh_params()694 plgctx->dh_4096->p = BN_bin2bn(pkinit_4096_dhprime, in pkinit_init_dh_params()696 if ((plgctx->dh_4096->g = BN_new()) == NULL || in pkinit_init_dh_params()697 (plgctx->dh_4096->q = BN_new()) == NULL) in pkinit_init_dh_params()699 BN_set_word(plgctx->dh_4096->g, DH_GENERATOR_2); in pkinit_init_dh_params()700 BN_rshift1(plgctx->dh_4096->q, plgctx->dh_4096->p); in pkinit_init_dh_params()718 if (plgctx->dh_4096 != NULL) in pkinit_fini_dh_params()719 DH_free(plgctx->dh_4096); in pkinit_fini_dh_params()721 plgctx->dh_1024 = plgctx->dh_2048 = plgctx->dh_4096 = NULL; in pkinit_fini_dh_params()[all …]