Searched refs:dh_1024 (Results 1 – 2 of 2) sorted by relevance
110 DH *dh_1024; member
669 plgctx->dh_1024 = DH_new(); in pkinit_init_dh_params()670 if (plgctx->dh_1024 == NULL) in pkinit_init_dh_params()672 plgctx->dh_1024->p = BN_bin2bn(pkinit_1024_dhprime, in pkinit_init_dh_params()674 if ((plgctx->dh_1024->g = BN_new()) == NULL || in pkinit_init_dh_params()675 (plgctx->dh_1024->q = BN_new()) == NULL) in pkinit_init_dh_params()677 BN_set_word(plgctx->dh_1024->g, DH_GENERATOR_2); in pkinit_init_dh_params()678 BN_rshift1(plgctx->dh_1024->q, plgctx->dh_1024->p); in pkinit_init_dh_params()714 if (plgctx->dh_1024 != NULL) in pkinit_fini_dh_params()715 DH_free(plgctx->dh_1024); in pkinit_fini_dh_params()721 plgctx->dh_1024 = plgctx->dh_2048 = plgctx->dh_4096 = NULL; in pkinit_fini_dh_params()[all …]