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

  /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...]
  /src/crypto/external/apache2/openssl/dist/test/
ectest.c 2789 EVP_PKEY_CTX *pctx1 = NULL, *pctx2 = NULL, *dctx = NULL; local
2968 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL))
2969 || !TEST_int_eq(EVP_PKEY_derive_init(pctx2), 1)
2970 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1)
2971 || !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1)
2974 || !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1))
3007 EVP_PKEY_CTX_free(pctx2);
3008 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL))
3009 || !TEST_int_eq(EVP_PKEY_fromdata_init(pctx2), 1)
3010 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR
    [all...]

Completed in 57 milliseconds