Searched refs:fromctx (Results 1 – 2 of 2) sorted by relevance
/openssl/providers/fips/ |
H A D | self_test_kats.c | 457 EVP_PKEY_CTX *fromctx = NULL; in self_test_digest_sign() local 494 fromctx = EVP_PKEY_CTX_new_from_name(libctx, t->keytype, NULL); in self_test_digest_sign() 495 if (fromctx == NULL in self_test_digest_sign() 499 if (EVP_PKEY_fromdata_init(fromctx) <= 0 in self_test_digest_sign() 500 || EVP_PKEY_fromdata(fromctx, &pkey, EVP_PKEY_KEYPAIR, paramskey) <= 0) in self_test_digest_sign() 548 EVP_PKEY_CTX_free(fromctx); in self_test_digest_sign()
|
/openssl/test/ |
H A D | evp_extra_test2.c | 297 EVP_PKEY_CTX *fromctx = NULL; in do_pkey_tofrom_data_select() local 320 if (!TEST_ptr(fromctx = EVP_PKEY_CTX_new_from_name(mainctx, keytype, NULL)) in do_pkey_tofrom_data_select() 321 || !TEST_int_eq(EVP_PKEY_fromdata_init(fromctx), 1) in do_pkey_tofrom_data_select() 322 || !TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkey, EVP_PKEY_PUBLIC_KEY, in do_pkey_tofrom_data_select() 330 if (!TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkeypair, in do_pkey_tofrom_data_select() 338 EVP_PKEY_CTX_free(fromctx); in do_pkey_tofrom_data_select()
|
Completed in 10 milliseconds