Home
last modified time | relevance | path

Searched refs:pctx2 (Results 1 - 1 of 1) sorted by relevance

/third_party/openssl/test/
H A Dectest.c2710 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL; in custom_params_test() local
2881 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL)) in custom_params_test()
2882 || !TEST_int_eq(EVP_PKEY_derive_init(pctx2), 1) in custom_params_test()
2883 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1) in custom_params_test()
2884 || !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1) in custom_params_test()
2887 || !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1)) in custom_params_test()
2920 EVP_PKEY_CTX_free(pctx2); in custom_params_test()
2921 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL)) in custom_params_test()
2922 || !TEST_int_eq(EVP_PKEY_fromdata_init(pctx2), 1) in custom_params_test()
2923 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, in custom_params_test()
[all...]

Completed in 5 milliseconds