Home
last modified time | relevance | path

Searched refs:pctx1 (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dectest.c2710 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL; in custom_params_test() local
2874 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test()
2875 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test()
2876 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
2877 || !TEST_int_eq(EVP_PKEY_derive(pctx1, NULL, &sslen), 1) in custom_params_test()
2879 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &sslen), 1)) in custom_params_test()
2930 EVP_PKEY_CTX_free(pctx1); in custom_params_test()
2931 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test()
2932 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test()
2933 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
[all …]