Lines Matching defs:test_ctx
2942 EVP_PKEY_CTX *test_ctx = NULL;
3038 if (!(test_ctx = EVP_PKEY_CTX_new(key_B, NULL)) || /* test ctx from skeyB */
3039 !EVP_PKEY_derive_init(test_ctx) || /* init derivation test_ctx */
3040 !EVP_PKEY_derive_set_peer(test_ctx, key_A) || /* set peer pubkey in test_ctx */
3041 !EVP_PKEY_derive(test_ctx, NULL, &test_outlen) || /* determine max length */
3043 !EVP_PKEY_derive(test_ctx, loopargs[i].secret_b, &test_outlen) || /* compute b*A */
3069 EVP_PKEY_CTX_free(test_ctx);
3070 test_ctx = NULL;