Lines Matching refs:ffdh_ctx
562 EVP_PKEY_CTX *ffdh_ctx[FFDH_NUM]; member
1165 EVP_PKEY_CTX *ffdh_ctx = tempargs->ffdh_ctx[testnum]; in FFDH_derive_key_loop() local
1173 EVP_PKEY_derive(ffdh_ctx, derived_secret, &outlen); in FFDH_derive_key_loop()
3877 EVP_PKEY_CTX *ffdh_ctx = NULL; in speed_main() local
3906 ffdh_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, NULL); in speed_main()
3907 if (!ffdh_ctx) { in speed_main()
3915 if (EVP_PKEY_keygen_init(ffdh_ctx) <= 0) { in speed_main()
3922 if (EVP_PKEY_CTX_set_dh_nid(ffdh_ctx, ffdh_params[testnum].nid) <= 0) { in speed_main()
3930 if (EVP_PKEY_keygen(ffdh_ctx, &pkey_A) <= 0 || in speed_main()
3931 EVP_PKEY_keygen(ffdh_ctx, &pkey_B) <= 0) { in speed_main()
3939 EVP_PKEY_CTX_free(ffdh_ctx); in speed_main()
3946 ffdh_ctx = EVP_PKEY_CTX_new(pkey_A, NULL); in speed_main()
3947 if (ffdh_ctx == NULL) { in speed_main()
3954 if (EVP_PKEY_derive_init(ffdh_ctx) <= 0) { in speed_main()
3961 if (EVP_PKEY_derive_set_peer(ffdh_ctx, pkey_B) <= 0) { in speed_main()
3968 if (EVP_PKEY_derive(ffdh_ctx, NULL, &secret_size) <= 0) { in speed_main()
3981 if (EVP_PKEY_derive(ffdh_ctx, in speed_main()
4020 loopargs[i].ffdh_ctx[testnum] = ffdh_ctx; in speed_main()
4672 EVP_PKEY_CTX_free(loopargs[i].ffdh_ctx[k]); in speed_main()