Home
last modified time | relevance | path

Searched refs:NULL (Results 26 – 50 of 1992) sorted by relevance

12345678910>>...80

/openssl/crypto/ec/
H A Dec_key.c36 return ossl_ec_key_new_method_int(NULL, NULL, NULL); in EC_KEY_new()
84 if (r->meth != NULL && r->meth->finish != NULL) in EC_KEY_free()
108 if (dest == NULL || src == NULL) { in EC_KEY_copy()
212 if (eckey == NULL || eckey->group == NULL) { in EC_KEY_generate_key()
471 if (eckey == NULL || eckey->group == NULL || eckey->pub_key == NULL) { in EC_KEY_check_key()
532 if (eckey == NULL || eckey->group == NULL || eckey->pub_key == NULL) { in ossl_ec_key_public_check_quick()
607 if (eckey == NULL || eckey->group == NULL || eckey->priv_key == NULL) { in ossl_ec_key_private_check()
701 if (key == NULL || key->group == NULL || x == NULL || y == NULL) { in EC_KEY_set_public_key_affine_coordinates()
957 if (key == NULL || key->group == NULL) in EC_KEY_decoded_from_explicit_params()
965 if (key == NULL || key->pub_key == NULL || key->group == NULL) in EC_KEY_key2buf()
[all …]
H A Dec_asn1.c193 if (group == NULL || field == NULL) in ec_asn1_group2fieldid()
213 if (!EC_GROUP_get_curve(group, tmp, NULL, NULL, NULL)) { in ec_asn1_group2fieldid()
313 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; in ec_asn1_group2curve()
523 EC_GROUP *ret = NULL, *dup = NULL; in EC_GROUP_new_from_ecparameters()
524 BIGNUM *p = NULL, *a = NULL, *b = NULL; in EC_GROUP_new_from_ecparameters()
942 if (a == NULL || *a == NULL) { in d2i_ECPrivateKey()
1101 if (in == NULL || *in == NULL) { in d2i_ECParameters()
1106 if (a == NULL || *a == NULL) { in d2i_ECParameters()
1137 if (a == NULL || (*a) == NULL || (*a)->group == NULL) { in o2i_ECPublicKey()
1234 if (psig != NULL && *psig == NULL) in d2i_ECDSA_SIG()
[all …]
/openssl/test/
H A Dossl_store_test.c50 && TEST_ptr(sctx = OSSL_STORE_open_ex(input, NULL, NULL, ui_method, in test_store_open()
51 NULL, NULL, NULL, NULL)) in test_store_open()
74 EVP_PKEY *pkey = NULL; in get_params()
79 ctx = OSSL_STORE_open_ex(uri, NULL, NULL, NULL, NULL, NULL, NULL, NULL); in get_params()
90 info = NULL; in get_params()
93 if (pkey != NULL) in get_params()
162 BIO *bio = NULL; in test_store_attach_unregistered_scheme()
170 NULL, NULL, NULL, NULL, NULL)) in test_store_attach_unregistered_scheme()
191 { NULL } in test_get_options()
231 if (infile != NULL) in setup_tests()
[all …]
H A Devp_pkey_provided_test.c190 NULL, NULL, 0, NULL, NULL)) in test_print_key_using_pem()
194 NULL, NULL, 0, NULL, NULL)) in test_print_key_using_pem()
196 NULL, NULL, 0, NULL, NULL))) in test_print_key_using_pem()
545 BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL; in test_fromdata_rsa_derive_from_pq_sp800()
641 BIGNUM *n = NULL, *e = NULL, *d = NULL; in test_fromdata_rsa_derive_from_pq_multiprime()
642 BIGNUM *p = NULL, *q = NULL, *p2 = NULL; in test_fromdata_rsa_derive_from_pq_multiprime()
851 BIGNUM *n = NULL, *e = NULL, *d = NULL, *n_out = NULL; in test_evp_pkey_get_bn_param_large()
908 BIGNUM *p = NULL, *q = NULL, *g = NULL, *j = NULL; in test_fromdata_dh_named_group()
1122 BIGNUM *p = NULL, *q = NULL, *g = NULL, *j = NULL; in test_fromdata_dh_fips186_4()
1853 BIGNUM *p = NULL, *q = NULL, *g = NULL; in test_fromdata_dsa_fips186_4()
[all …]
H A Devp_extra_test2.c459 EVP_PKEY *key = NULL, *outkey = NULL; in test_ec_d2i_i2d_pubkey()
597 EVP_PKEY *pkey = NULL, *pkey_dec = NULL; in test_pkcs8key_nid_bio()
598 BIO *in = NULL, *enc_bio = NULL; in test_pkcs8key_nid_bio()
607 && TEST_ptr(pkey = d2i_PrivateKey_ex_bio(in, NULL, NULL, NULL)) in test_pkcs8key_nid_bio()
710 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex()
738 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
747 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
790 read_pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL); in test_PEM_read_bio_negative_wrong_password()
1124 EVP_PKEY_CTX *ctx = NULL, *gctx = NULL; in test_dsa_fromdata_digest_prop()
1125 EVP_PKEY *pkey = NULL, *pkey2 = NULL; in test_dsa_fromdata_digest_prop()
[all …]
H A Dquic_record_test.c54 { RX_TEST_OP_SET_SCID_LEN, 0, NULL, 0, NULL, (scid_len), 0, 0, NULL, NULL },
69 { RX_TEST_OP_DISCARD_EL, 0, NULL, 0, NULL, (el), 0, 0, NULL, NULL },
76 { RX_TEST_OP_CHECK_NO_PKT, 0, NULL, 0, NULL, 0, 0, 0, NULL, NULL },
3202 NULL, NULL,
3267 NULL, NULL,
3319 NULL, NULL,
3377 NULL, NULL,
3421 NULL, NULL,
3465 NULL, NULL,
3536 NULL, NULL,
[all …]
H A Dcmsapitest.c20 static X509 *cert = NULL;
22 static char *derin = NULL;
51 NULL, privkey, cert, NULL, in test_encrypt_decrypt()
52 CMS_TEXT, NULL, NULL))) in test_encrypt_decrypt()
308 && TEST_true(CMS_verify(cms, NULL, NULL, NULL, NULL, flags)) in test_d2i_CMS_bio_NULL()
310 CMS_SignedData_verify(cms->d.signedData, NULL, NULL, NULL, in test_d2i_CMS_bio_NULL()
311 NULL, NULL, flags, NULL, NULL)); in test_d2i_CMS_bio_NULL()
347 return NULL; in read_all()
392 char *certin = NULL, *privkeyin = NULL; in setup_tests()
393 BIO *certbio = NULL, *privkeybio = NULL; in setup_tests()
[all …]
/openssl/crypto/evp/
H A Dsignature.c27 if (signature == NULL) in evp_signature_new()
28 return NULL; in evp_signature_new()
32 return NULL; in evp_signature_new()
371 return NULL; in evp_signature_from_algorithm()
470 if (sig == NULL || sig->gettable_ctx_params == NULL) in EVP_SIGNATURE_gettable_ctx_params()
471 return NULL; in EVP_SIGNATURE_gettable_ctx_params()
481 if (sig == NULL || sig->settable_ctx_params == NULL) in EVP_SIGNATURE_settable_ctx_params()
482 return NULL; in EVP_SIGNATURE_settable_ctx_params()
914 if (ctx->pmeth == NULL || ctx->pmeth->sign == NULL) { in EVP_PKEY_sign()
1039 if (ctx->pmeth == NULL || ctx->pmeth->verify == NULL) { in EVP_PKEY_verify()
[all …]
H A Dkeymgmt_lib.c63 if (pkey == NULL || keymgmt == NULL || keydata == NULL in evp_keymgmt_util_assign_pkey()
90 if (pk == NULL || export_cb == NULL) in evp_keymgmt_util_export()
132 if (op != NULL && op->keymgmt != NULL) { in evp_keymgmt_util_export_to_provider()
178 if (op != NULL && op->keydata != NULL) { in evp_keymgmt_util_export_to_provider()
353 EVP_KEYMGMT *keymgmt1 = NULL, *keymgmt2 = NULL; in evp_keymgmt_util_match()
354 void *keydata1 = NULL, *keydata2 = NULL; in evp_keymgmt_util_match()
356 if (pk1 == NULL || pk2 == NULL) { in evp_keymgmt_util_match()
357 if (pk1 == NULL && pk2 == NULL) in evp_keymgmt_util_match()
436 if (keydata1 == NULL && keydata2 == NULL) in evp_keymgmt_util_match()
439 if (keydata1 == NULL || keydata2 == NULL) in evp_keymgmt_util_match()
[all …]
H A Dkeymgmt_meth.c25 return NULL; in keymgmt_new()
28 return NULL; in keymgmt_new()
66 return NULL; in keymgmt_from_algorithm()
71 return NULL; in keymgmt_from_algorithm()
251 return NULL; in keymgmt_from_algorithm()
373 return NULL; in evp_keymgmt_newdata()
389 return NULL; in evp_keymgmt_gen_init()
420 return NULL; in EVP_KEYMGMT_gen_settable_params()
437 return NULL; in EVP_KEYMGMT_gen_gettable_params()
457 return keymgmt != NULL && keymgmt->load != NULL; in evp_keymgmt_has_load()
[all …]
/openssl/crypto/rsa/
H A Drsa_x931g.c30 BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL; in RSA_X931_derive_ex()
31 BN_CTX *ctx = NULL, *ctx2 = NULL; in RSA_X931_derive_ex()
34 if (rsa == NULL) in RSA_X931_derive_ex()
47 if (r3 == NULL) in RSA_X931_derive_ex()
81 if (rsa->p == NULL || rsa->q == NULL) { in RSA_X931_derive_ex()
154 BIGNUM *Xp = NULL, *Xq = NULL; in RSA_X931_generate_key_ex()
171 if (rsa->p == NULL || rsa->q == NULL) in RSA_X931_generate_key_ex()
176 if (!BN_X931_generate_prime_ex(rsa->p, NULL, NULL, NULL, NULL, Xp, in RSA_X931_generate_key_ex()
180 if (!BN_X931_generate_prime_ex(rsa->q, NULL, NULL, NULL, NULL, Xq, in RSA_X931_generate_key_ex()
189 if (!RSA_X931_derive_ex(rsa, NULL, NULL, NULL, NULL, in RSA_X931_generate_key_ex()
[all …]
H A Drsa_backend.c69 BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL; in ossl_rsa_fromdata()
70 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; in ossl_rsa_fromdata()
75 if (rsa == NULL) in ossl_rsa_fromdata()
149 && (param_n == NULL || param_d == NULL)) { in ossl_rsa_fromdata()
263 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in DEFINE_SPECIAL_STACK_OF_CONST()
268 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) in DEFINE_SPECIAL_STACK_OF_CONST()
360 EVP_MD *md = NULL, *mgf1md = NULL; in ossl_rsa_pss_params_30_fromdata()
387 && (param_md != NULL || param_mgf != NULL || param_mgf1md != NULL in ossl_rsa_pss_params_30_fromdata()
466 if (f != NULL && (*out = BN_dup(f)) == NULL) in rsa_bn_dup_check()
563 return NULL; in ossl_rsa_dup()
[all …]
/openssl/crypto/store/
H A Dstore_result.c104 if (p != NULL in ossl_store_handle_load_result()
108 if (p != NULL in ossl_store_handle_load_result()
114 if (p != NULL in ossl_store_handle_load_result()
150 if (*v == NULL) in ossl_store_handle_load_result()
153 return (*v != NULL); in ossl_store_handle_load_result()
162 char *newname = NULL, *newdesc = NULL; in try_name()
202 while (keymgmt != NULL && keydata == NULL && try_fallback-- > 0) { in try_key_ref()
285 return NULL; in try_key_value()
325 if (pk == NULL in try_key_value_legacy()
604 && (pkey = NULL) == NULL in try_pkcs12()
[all …]
H A Dstore_lib.c235 return NULL; in OSSL_STORE_open_ex()
243 return OSSL_STORE_open_ex(uri, NULL, NULL, ui_method, ui_data, NULL, in OSSL_STORE_open()
465 if (ctx->post_process != NULL && v != NULL) { in OSSL_STORE_load()
702 return NULL; in OSSL_STORE_INFO_get0_data()
709 return NULL; in OSSL_STORE_INFO_get0_NAME()
717 return NULL; in OSSL_STORE_INFO_get1_NAME()
724 return NULL; in OSSL_STORE_INFO_get0_NAME_description()
732 return NULL; in OSSL_STORE_INFO_get1_NAME_description()
739 return NULL; in OSSL_STORE_INFO_get0_PARAMS()
749 return NULL; in OSSL_STORE_INFO_get1_PARAMS()
[all …]
/openssl/apps/lib/
H A Dapps.c501 NULL, NULL, NULL, &cert, NULL, NULL, NULL); in load_cert_pass()
523 NULL, NULL, NULL, NULL, NULL, &crl, NULL); in load_crl()
617 &pkey, NULL, NULL, NULL, NULL, NULL, NULL); in load_key()
636 NULL, &pkey, NULL, NULL, NULL, NULL, NULL); in load_pubkey()
639 &pkey, NULL, NULL, NULL, NULL, NULL, NULL); in load_pubkey()
654 NULL, NULL, &params, NULL, NULL, NULL, NULL); in load_keyparams_suppress()
756 NULL, NULL, NULL, pcert, pcerts, NULL, NULL); in load_cert_certs()
864 NULL, NULL, NULL, NULL, certs, NULL, NULL); in load_certs()
885 NULL, NULL, NULL, NULL, NULL, NULL, crls); in load_crls()
1022 || pcert != NULL || pcerts != NULL || pcrl != NULL || pcrls != NULL) in load_key_certs_crls()
[all …]
/openssl/crypto/encode_decode/
H A Dencoder_meth.c33 return NULL; in ossl_encoder_new()
36 return NULL; in ossl_encoder_new()
153 return NULL; in get_encoder_from_store()
278 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
279 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
360 if (store == NULL || namemap == NULL) { in inner_ossl_encoder_fetch()
412 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_encoder_fetch()
577 if (encoder != NULL && encoder->gettable_params != NULL) { in OSSL_ENCODER_gettable_params()
582 return NULL; in OSSL_ENCODER_gettable_params()
587 if (encoder != NULL && encoder->get_params != NULL) in OSSL_ENCODER_get_params()
[all …]
H A Ddecoder_meth.c33 return NULL; in ossl_decoder_new()
36 return NULL; in ossl_decoder_new()
153 return NULL; in get_decoder_from_store()
270 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
271 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
350 if (store == NULL || namemap == NULL) { in inner_ossl_decoder_fetch()
403 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_decoder_fetch()
586 if (decoder != NULL && decoder->gettable_params != NULL) { in OSSL_DECODER_gettable_params()
591 return NULL; in OSSL_DECODER_gettable_params()
596 if (decoder != NULL && decoder->get_params != NULL) in OSSL_DECODER_get_params()
[all …]
/openssl/crypto/http/
H A Dhttp_client.c98 if (wbio == NULL || rbio == NULL) { in OSSL_HTTP_REQ_CTX_new()
228 if (rctx == NULL || name == NULL) { in OSSL_HTTP_REQ_CTX_add1_header()
286 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
558 if (rctx->mem == NULL || rctx->wbio == NULL || rctx->rbio == NULL) { in OSSL_HTTP_REQ_CTX_nbio()
752 if (value != NULL && line_end != NULL) { in OSSL_HTTP_REQ_CTX_nbio()
1030 if (rbio != NULL && (bio == NULL || bio_update_fn != NULL)) { in OSSL_HTTP_open()
1055 NULL /* path */, NULL, NULL)) in OSSL_HTTP_open()
1239 &port, NULL /* port_num */, &path, NULL, NULL)) in OSSL_HTTP_get()
1344 if (rctx != NULL && rctx->upd_fn != NULL) { in OSSL_HTTP_close()
1398 if (bio == NULL || server == NULL in OSSL_HTTP_proxy_connect()
[all …]
/openssl/crypto/x509/
H A Dx509_att.c31 if (obj == NULL) in X509at_get_attr_by_NID()
42 if (sk == NULL) in X509at_get_attr_by_OBJ()
58 if (x == NULL) { in X509at_get_attr()
88 if (x == NULL || attr == NULL) { in STACK_OF()
115 return NULL; in STACK_OF()
121 if (x == NULL || attr == NULL) { in STACK_OF()
157 if (x == NULL || obj == NULL) { in STACK_OF()
292 if (attr == NULL || *attr == NULL) { in X509_ATTRIBUTE_create_by_OBJ()
306 if (attr != NULL && *attr == NULL) in X509_ATTRIBUTE_create_by_OBJ()
312 return NULL; in X509_ATTRIBUTE_create_by_OBJ()
[all …]
/openssl/crypto/async/
H A Dasync.c39 if (!ossl_init_thread_start(NULL, NULL, async_delete_thread_state)) in async_ctx_new()
40 return NULL; in async_ctx_new()
43 if (nctx == NULL) in async_ctx_new()
56 return NULL; in async_ctx_new()
83 if (job == NULL) in async_job_new()
84 return NULL; in async_job_new()
183 if (ctx == NULL) in ASYNC_start_job()
282 *job = NULL; in ASYNC_start_job()
319 if (pool == NULL || pool->jobs == NULL) in async_empty_pool()
456 if (ctx == NULL || ctx->currjob == NULL) { in ASYNC_block_pause()
[all …]
/openssl/crypto/ct/
H A Dct_x509v3.c71 *a = NULL; in STACK_OF()
83 NULL, NULL,
84 NULL, NULL,
86 NULL },
90 NULL, NULL, NULL, NULL,
92 NULL, NULL,
93 NULL, NULL,
94 NULL },
100 NULL, NULL,
101 NULL, NULL,
[all …]
/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c84 return NULL; in rsa_newdata()
87 if (rsa != NULL) { in rsa_newdata()
100 return NULL; in rsapss_newdata()
153 if (pa != NULL && pb != NULL) { in rsa_match()
163 if (pa != NULL && pb != NULL) { in rsa_match()
317 return NULL; in rsa_imexport_types()
483 return NULL; in gen_init()
580 RSA *rsa = NULL, *rsa_tmp = NULL; in rsa_gen()
632 rsa_tmp = NULL; in rsa_gen()
669 return NULL; in common_load()
[all …]
/openssl/crypto/err/
H A Derr.c351 return get_error_values(EV_POP, NULL, NULL, NULL, NULL, NULL); in ERR_get_error()
364 return get_error_values(EV_POP, file, line, NULL, NULL, NULL); in ERR_get_error_line()
376 return get_error_values(EV_PEEK, NULL, NULL, NULL, NULL, NULL); in ERR_peek_error()
381 return get_error_values(EV_PEEK, file, line, NULL, NULL, NULL); in ERR_peek_error_line()
386 return get_error_values(EV_PEEK, NULL, NULL, func, NULL, NULL); in ERR_peek_error_func()
391 return get_error_values(EV_PEEK, NULL, NULL, NULL, data, flags); in ERR_peek_error_data()
411 return get_error_values(EV_PEEK_LAST, NULL, NULL, NULL, NULL, NULL); in ERR_peek_last_error()
416 return get_error_values(EV_PEEK_LAST, file, line, NULL, NULL, NULL); in ERR_peek_last_error_line()
421 return get_error_values(EV_PEEK_LAST, NULL, NULL, func, NULL, NULL); in ERR_peek_last_error_func()
426 return get_error_values(EV_PEEK_LAST, NULL, NULL, NULL, data, flags); in ERR_peek_last_error_data()
[all …]
/openssl/crypto/cmp/
H A Dcmp_hdr.c52 if (hdr == NULL) { in OSSL_CMP_HDR_get0_transactionID()
54 return NULL; in OSSL_CMP_HDR_get0_transactionID()
62 return NULL; in ossl_cmp_hdr_get0_senderNonce()
68 if (hdr == NULL) { in OSSL_CMP_HDR_get0_recipNonce()
70 return NULL; in OSSL_CMP_HDR_get0_recipNonce()
78 if (hdr == NULL) { in STACK_OF()
80 return NULL; in STACK_OF()
146 if (!ossl_assert(hdr != NULL && text != NULL)) in ossl_cmp_hdr_push0_freeText()
158 if (!ossl_assert(hdr != NULL && text != NULL)) in ossl_cmp_hdr_push1_freeText()
173 if (!ossl_assert(hdr != NULL && itav != NULL)) in ossl_cmp_hdr_generalInfo_push0_item()
[all …]
/openssl/crypto/
H A Dtrace.c182 { 0, NULL, NULL, NULL },
262 if (prefix != NULL && curr_prefix != NULL) { in set_trace_data()
266 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data()
275 if (prefix != NULL && curr_prefix != NULL) { in set_trace_data()
280 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data()
292 if (prefix != NULL && *prefix != NULL) { in set_trace_data()
298 if (suffix != NULL && *suffix != NULL) { in set_trace_data()
304 if (channel != NULL && *channel != NULL) { in set_trace_data()
314 if (channel != NULL && *channel != NULL) { in set_trace_data()
318 if (prefix != NULL && *prefix != NULL) { in set_trace_data()
[all …]

Completed in 156 milliseconds

12345678910>>...80