HomeSort by: relevance | last modified time | path
    Searched refs:pctx2 (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/test/
ectest.c 3204 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL, *dctx = NULL; local
3383 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL))
3384 || !TEST_int_eq(EVP_PKEY_derive_init(pctx2), 1)
3385 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1)
3386 || !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1)
3389 || !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1))
3422 EVP_PKEY_CTX_free(pctx2);
3423 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL))
3424 || !TEST_int_eq(EVP_PKEY_fromdata_init(pctx2), 1)
3425 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
ectest.c 2710 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL; local
2881 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL))
2882 || !TEST_int_eq(EVP_PKEY_derive_init(pctx2), 1)
2883 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1)
2884 || !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1)
2887 || !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1))
2920 EVP_PKEY_CTX_free(pctx2);
2921 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL))
2922 || !TEST_int_eq(EVP_PKEY_fromdata_init(pctx2), 1)
2923 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR
    [all...]

Completed in 29 milliseconds