Searched refs:pctx1 (Results 1 – 1 of 1) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | ectest.c | 3204 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL, *dctx = NULL; in custom_params_test() local 3376 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test() 3377 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test() 3378 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test() 3379 || !TEST_int_eq(EVP_PKEY_derive(pctx1, NULL, &sslen), 1) in custom_params_test() 3381 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &sslen), 1)) in custom_params_test() 3434 EVP_PKEY_CTX_free(pctx1); in custom_params_test() 3435 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test() 3436 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test() 3437 || !TEST_ptr(dctx = EVP_PKEY_CTX_dup(pctx1)) in custom_params_test() [all …]
|