Home
last modified time | relevance | path

Searched refs:NULL (Results 176 – 200 of 1960) sorted by relevance

12345678910>>...79

/openssl/apps/
H A Dstoreutl.c67 {NULL}
73 char *outfile = NULL, *passin = NULL, *passinarg = NULL; in storeutl_main()
74 BIO *out = NULL; in storeutl_main()
75 ENGINE *e = NULL; in storeutl_main()
81 X509_NAME *subject = NULL, *issuer = NULL; in storeutl_main()
85 char *alias = NULL, *digestname = NULL; in storeutl_main()
277 if (issuer == NULL || serial == NULL) { in storeutl_main()
307 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in storeutl_main()
358 NULL, NULL, NULL)) in process()
359 == NULL) { in process()
[all …]
H A Dmac.c52 {NULL}
61 if (*optp == NULL) in alloc_mac_algorithm_name()
63 if (*optp == NULL) in alloc_mac_algorithm_name()
64 return NULL; in alloc_mac_algorithm_name()
71 return NULL; in alloc_mac_algorithm_name()
85 BIO *in = NULL, *out = NULL; in mac_main()
90 char *digest = NULL, *cipher = NULL; in mac_main()
151 if (ctx == NULL) in mac_main()
173 if (in == NULL) in mac_main()
177 if (out == NULL) in mac_main()
[all …]
/openssl/crypto/x509/
H A Dx_x509a.c43 if (x == NULL) in aux_get()
44 return NULL; in aux_get()
45 if (x->aux == NULL && (x->aux = X509_CERT_AUX_new()) == NULL) in aux_get()
46 return NULL; in aux_get()
62 if (aux->alias == NULL && (aux->alias = ASN1_UTF8STRING_new()) == NULL) in X509_alias_set1()
88 return NULL; in X509_alias_get0()
97 return NULL; in X509_keyid_get0()
164 if (x->aux != NULL) in STACK_OF()
166 return NULL; in STACK_OF()
171 if (x->aux != NULL) in STACK_OF()
[all …]
H A Dx509_vpm.c61 if (copy == NULL) in int_x509_param_set_hosts()
87 if (param == NULL) in X509_VERIFY_PARAM_new()
88 return NULL; in X509_VERIFY_PARAM_new()
98 if (param == NULL) in X509_VERIFY_PARAM_free()
157 if (src == NULL) in X509_VERIFY_PARAM_inherit()
251 tmp = NULL; in int_x509_param_set1()
420 char *peername = (from != NULL) ? from->peername : NULL; in X509_VERIFY_PARAM_move_peername()
445 if (param == NULL || param->ip == NULL) { in int_X509_VERIFY_PARAM_get0_ip()
447 return NULL; in int_X509_VERIFY_PARAM_get0_ip()
459 return ip == NULL ? NULL : ossl_ipaddr_to_asc(ip, iplen); in X509_VERIFY_PARAM_get1_ip_asc()
[all …]
H A Dv3_skid.c24 NULL
41 return NULL; in s2i_ASN1_OCTET_STRING()
46 return NULL; in s2i_ASN1_OCTET_STRING()
68 return NULL; in ossl_x509_pubkey_hash()
71 return NULL; in ossl_x509_pubkey_hash()
73 return NULL; in ossl_x509_pubkey_hash()
76 return NULL; in ossl_x509_pubkey_hash()
79 X509_PUBKEY_get0_param(NULL, &pk, &pklen, NULL, pubkey); in ossl_x509_pubkey_hash()
88 return NULL; in ossl_x509_pubkey_hash()
102 if (ctx == NULL in s2i_skey_id()
[all …]
H A Dv3_san.c35 NULL, NULL, NULL},
42 NULL, NULL, NULL},
48 NULL, NULL, NULL, NULL},
74 if (ret == NULL) in STACK_OF()
332 return NULL; in v2i_issuer_alt()
414 return NULL; in v2i_subject_alt()
431 if (ctx == NULL in copy_email()
451 if (email == NULL || (gen = GENERAL_NAME_new()) == NULL) { in copy_email()
462 gen = NULL; in copy_email()
499 return NULL; in v2i_GENERAL_NAMES()
[all …]
/openssl/crypto/bio/
H A Dbss_core.c45 if (bcgbl == NULL || bcgbl->c_bio_read_ex == NULL) in bio_core_read_ex()
55 if (bcgbl == NULL || bcgbl->c_bio_write_ex == NULL) in bio_core_write_ex()
64 if (bcgbl == NULL || bcgbl->c_bio_ctrl == NULL) in bio_core_ctrl()
73 if (bcgbl == NULL || bcgbl->c_bio_gets == NULL) in bio_core_gets()
82 if (bcgbl == NULL || bcgbl->c_bio_puts == NULL) in bio_core_puts()
111 NULL,
113 NULL,
119 NULL,
133 if (bcgbl == NULL || (bcgbl->c_bio_write_ex == NULL && bcgbl->c_bio_read_ex == NULL)) in BIO_new_from_core_bio()
134 return NULL; in BIO_new_from_core_bio()
[all …]
/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c167 if (pa != NULL && pb != NULL) { in ecx_match()
182 if (pa != NULL && pb != NULL) { in ecx_match()
216 if (key == NULL) in key_to_params()
282 return NULL; in ecx_imexport_types()
723 return NULL; in ecx_gen()
841 return NULL; in ecx_load()
848 return NULL; in ecx_dup()
1035 return NULL; in MAKE_KEYMGMT_FUNCTIONS()
1091 return NULL; in s390x_ecx_keygen448()
1155 return NULL; in s390x_ecd_keygen25519()
[all …]
/openssl/ssl/
H A Dssl_rsa.c36 if (sc == NULL) in SSL_use_certificate()
39 if (x == NULL) { in SSL_use_certificate()
58 X509 *cert = NULL, *x = NULL; in SSL_use_certificate_file()
61 if (in == NULL) { in SSL_use_certificate_file()
72 if (x == NULL) { in SSL_use_certificate_file()
152 if (sc == NULL) in SSL_use_PrivateKey()
301 X509 *x = NULL, *cert = NULL; in SSL_CTX_use_certificate_file()
446 if (ctx == NULL && ssl == NULL) in use_certificate_chain_file()
719 NULL, NULL, in serverinfo_process_buffer()
726 NULL, NULL, in serverinfo_process_buffer()
[all …]
/openssl/demos/pkcs12/
H A Dpkread.c22 char *name = NULL; in find_friendly_name()
28 return NULL; in find_friendly_name()
51 EVP_PKEY *pkey = NULL; in main()
52 X509 *cert = NULL; in main()
54 PKCS12 *p12 = NULL; in main()
55 char *name = NULL; in main()
69 if (p12 == NULL) { in main()
85 if (name != NULL) in main()
87 if (pkey != NULL) { in main()
89 PEM_write_PrivateKey(fp, pkey, NULL, NULL, 0, NULL, NULL); in main()
[all …]
/openssl/test/
H A Dv3ext.c25 BIO *b = NULL; in test_pathlen()
30 || !TEST_ptr(x = PEM_read_bio_X509(b, NULL, NULL, NULL)) in test_pathlen()
45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid()
86 if (!TEST_true(X509v3_asid_subset(NULL, NULL)) in test_asid()
177 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; in test_addr_ranges()
234 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; in test_addr_fam_len()
386 conf = NCONF_new_ex(NULL, NULL); in test_ext_syntax()
427 IPAddrBlocks *addr[3] = { NULL, NULL }; in test_addr_subset()
428 ASN1_OCTET_STRING *ip1[3] = { NULL, NULL }; in test_addr_subset()
429 ASN1_OCTET_STRING *ip2[3] = { NULL, NULL }; in test_addr_subset()
[all …]
H A Dverify_extra_test.c65 X509 *x = NULL; in test_alt_chains_cert_forgery()
109 X509 *x = NULL; in test_distinguishing_id()
111 ASN1_OCTET_STRING *v = NULL, *v2 = NULL; in test_distinguishing_id()
115 if (x == NULL) in test_distinguishing_id()
119 if (v == NULL) in test_distinguishing_id()
144 BIO *bio = NULL; in test_req_distinguishing_id()
146 ASN1_OCTET_STRING *v = NULL, *v2 = NULL; in test_req_distinguishing_id()
153 x = PEM_read_bio_X509_REQ(bio, NULL, 0, NULL); in test_req_distinguishing_id()
154 if (x == NULL) in test_req_distinguishing_id()
158 if (v == NULL) in test_req_distinguishing_id()
[all …]
H A Docspapitest.c28 X509 *cert = NULL; in get_cert_and_key()
29 EVP_PKEY *key = NULL; in get_cert_and_key()
33 cert = PEM_read_bio_X509(certbio, NULL, NULL, NULL); in get_cert_and_key()
37 key = PEM_read_bio_PrivateKey(keybio, NULL, NULL, NULL); in get_cert_and_key()
53 X509 *cert = NULL; in get_cert()
57 cert = PEM_read_bio_X509(certbio, NULL, NULL, NULL); in get_cert()
75 ASN1_TIME *thisupd = ASN1_TIME_set(NULL, time(NULL)); in make_dummy_resp()
76 ASN1_TIME *nextupd = ASN1_TIME_set(NULL, time(NULL) + 200); in make_dummy_resp()
100 bs = NULL; in make_dummy_resp()
140 tmp = NULL; in test_resp_signer()
[all …]
H A Dsm2_internal_test.c70 fake_rand_set_public_private_callbacks(NULL, NULL); in restore_rand()
81 BIGNUM *p = NULL; in create_EC_group()
82 BIGNUM *a = NULL; in create_EC_group()
83 BIGNUM *b = NULL; in create_EC_group()
84 BIGNUM *g_x = NULL; in create_EC_group()
85 BIGNUM *g_y = NULL; in create_EC_group()
87 BIGNUM *cof = NULL; in create_EC_group()
128 group = NULL; in create_EC_group()
164 || !TEST_true(EC_POINT_mul(group, pt, priv, NULL, NULL, NULL)) in test_sm2_crypt()
319 BIGNUM *r = NULL; in test_sm2_sign()
[all …]
/openssl/crypto/http/
H A Dhttp_lib.c20 if (pstr != NULL) { in init_pstring()
21 *pstr = NULL; in init_pstring()
27 if (pint != NULL) { in init_pint()
34 return dest == NULL in copy_substring()
40 if (pstr != NULL) { in free_pstring()
42 *pstr = NULL; in free_pstring()
69 if (url == NULL) { in OSSL_parse_url()
77 if (p == NULL) { in OSSL_parse_url()
89 if (host != NULL) in OSSL_parse_url()
200 if (pssl != NULL) in OSSL_HTTP_parse_url()
[all …]
/openssl/crypto/pkcs12/
H A Dp12_kiss.c39 X509 *x = NULL; in PKCS12_parse()
41 if (pkey != NULL) in PKCS12_parse()
42 *pkey = NULL; in PKCS12_parse()
43 if (cert != NULL) in PKCS12_parse()
44 *cert = NULL; in PKCS12_parse()
75 pass = NULL; in PKCS12_parse()
79 if ((cert != NULL || ca != NULL) in PKCS12_parse()
96 if (pkey != NULL && *pkey != NULL in PKCS12_parse()
97 && cert != NULL && *cert == NULL) { in PKCS12_parse()
208 if (pkey == NULL || *pkey != NULL) in parse_bag()
[all …]
/openssl/crypto/ec/
H A Dec_ameth.c34 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type()
71 void *pval = NULL; in eckey_pub_encode()
84 if (penc == NULL) in eckey_pub_encode()
138 if (group == NULL || pa == NULL || pb == NULL) in eckey_pub_cmp()
264 if (group_a == NULL || group_b == NULL) in ec_cmp_parameters()
286 unsigned char *priv = NULL, *pub = NULL; in do_EC_KEY_print()
291 if (x == NULL || (group = EC_KEY_get0_group(x)) == NULL) { in do_EC_KEY_print()
351 if ((eckey = d2i_ECParameters(NULL, pder, derlen)) == NULL) in eckey_param_decode()
385 if ((ec = d2i_ECPrivateKey(NULL, pder, derlen)) == NULL) in old_ec_priv_decode()
478 unsigned char *pub_key_buf = NULL, *gen_buf = NULL; in ec_pkey_export_to()
[all …]
/openssl/crypto/pem/
H A Dpvkfmt.c381 BIGNUM *pbn = NULL, *qbn = NULL, *gbn = NULL, *priv_key = NULL; in ossl_b2i_DSA_after_header()
452 BIGNUM *e = NULL, *n = NULL, *d = NULL; in ossl_b2i_RSA_after_header()
453 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; in ossl_b2i_RSA_after_header()
641 RSA_get0_key(rsa, NULL, &e, NULL); in check_bitlen_rsa()
658 RSA_get0_key(rsa, NULL, NULL, &d); in check_bitlen_rsa()
702 const BIGNUM *p = NULL, *q = NULL, *g = NULL; in check_bitlen_dsa()
703 const BIGNUM *pub_key = NULL, *priv_key = NULL; in check_bitlen_dsa()
730 const BIGNUM *p = NULL, *q = NULL, *g = NULL; in write_dsa()
731 const BIGNUM *pub_key = NULL, *priv_key = NULL; in write_dsa()
1008 return b2i_PVK_bio_ex(in, cb, u, NULL, NULL); in b2i_PVK_bio()
[all …]
/openssl/crypto/evp/
H A Devp_enc.c35 if (ctx == NULL) in OSSL_SAFE_MATH_SIGNED()
38 if (ctx->cipher == NULL || ctx->cipher->prov == NULL) in OSSL_SAFE_MATH_SIGNED()
116 if (cipher == NULL && ctx->cipher == NULL) { in evp_cipher_init_internal()
134 if (cipher != NULL && impl == NULL) { in evp_cipher_init_internal()
149 || (cipher == NULL && ctx->cipher != NULL in evp_cipher_init_internal()
161 if (cipher != NULL && ctx->cipher != NULL) { in evp_cipher_init_internal()
171 if (cipher != NULL && ctx->cipher != NULL) { in evp_cipher_init_internal()
1097 if (ctx->cipher != NULL && ctx->cipher->prov == NULL) in EVP_CIPHER_CTX_set_padding()
1115 if (ctx == NULL || ctx->cipher == NULL) { in EVP_CIPHER_CTX_ctrl()
1323 if (cipher != NULL && cipher->get_params != NULL) in EVP_CIPHER_get_params()
[all …]
/openssl/crypto/cmp/
H A Dcmp_util.c53 if (end_level == NULL) in parse_level()
79 const char *p_file = buf == NULL ? NULL : strchr(buf, ':'); in ossl_cmp_log_parse_metadata()
84 *func = NULL; in ossl_cmp_log_parse_metadata()
85 *file = NULL; in ossl_cmp_log_parse_metadata()
155 const char *file = NULL, *func = NULL, *data = NULL; in OSSL_CMP_print_errors_cb()
210 if (certs == NULL) in ossl_cmp_X509_STORE_add1_certs()
227 if (!ossl_assert(sk != NULL && text != NULL)) in ossl_cmp_sk_ASN1_UTF8STRING_push_str()
247 if (tgt == NULL) { in ossl_cmp_asn1_octet_string_set1()
254 if (src != NULL) { in ossl_cmp_asn1_octet_string_set1()
258 new = NULL; in ossl_cmp_asn1_octet_string_set1()
[all …]
/openssl/crypto/
H A Dprovider_predefined.c22 { "fips", NULL, ossl_fips_intern_provider_init, NULL, 1 },
24 { "default", NULL, ossl_default_provider_init, NULL, 1 },
26 { "legacy", NULL, ossl_legacy_provider_init, NULL, 0 },
28 { "base", NULL, ossl_base_provider_init, NULL, 0 },
29 { "null", NULL, ossl_null_provider_init, NULL, 0 },
31 { NULL, NULL, NULL, NULL, 0 }
/openssl/crypto/cms/
H A Dcms_ec.c64 return NULL; in pkey_type2param()
70 return NULL; in pkey_type2param()
194 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
210 der = NULL; in ecdh_cms_set_shared_info()
233 NULL, NULL, NULL)) in ecdh_cms_decrypt()
235 if (alg == NULL || pubkey == NULL) in ecdh_cms_decrypt()
273 NULL, NULL, NULL)) in ecdh_cms_encrypt()
275 X509_ALGOR_get0(&aoid, NULL, NULL, talg); in ecdh_cms_encrypt()
287 penc = NULL; in ecdh_cms_encrypt()
358 penc = NULL; in ecdh_cms_encrypt()
[all …]
/openssl/ssl/quic/
H A Dquic_record_util.c30 EVP_KDF *kdf = NULL; in ossl_quic_hkdf_extract()
31 EVP_KDF_CTX *kctx = NULL; in ossl_quic_hkdf_extract()
84 if (qrx == NULL && qtx == NULL) in ossl_quic_provide_initial_secret()
118 NULL, 0, in ossl_quic_provide_initial_secret()
137 if (qrx != NULL in ossl_quic_provide_initial_secret()
150 if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) { in ossl_quic_provide_initial_secret()
151 sha256 = NULL; in ossl_quic_provide_initial_secret()
156 if (qtx != NULL in ossl_quic_provide_initial_secret()
215 return NULL; in get_suite()
222 return c != NULL ? c->cipher_name : NULL; in ossl_qrl_get_suite_cipher_name()
[all …]
/openssl/crypto/ts/
H A Dts_conf.c50 BIO *cert = NULL; in TS_CONF_load_cert()
51 X509 *x = NULL; in TS_CONF_load_cert()
55 x = PEM_read_bio_X509_AUX(cert, NULL, NULL, NULL); in TS_CONF_load_cert()
57 if (x == NULL) in TS_CONF_load_cert()
65 BIO *certs = NULL; in STACK_OF()
75 allcerts = PEM_X509_INFO_read_bio(certs, NULL, NULL, NULL); in STACK_OF()
98 BIO *key = NULL; in TS_CONF_load_key()
103 pkey = PEM_read_bio_PrivateKey(key, NULL, NULL, (char *)pass); in TS_CONF_load_key()
105 if (pkey == NULL) in TS_CONF_load_key()
268 if (md == NULL) in TS_CONF_set_signer_digest()
[all …]
/openssl/fuzz/
H A Ddtlsserver.c582 if (comp_methods != NULL) in time()
608 EC_KEY *ecdsakey = NULL; in FuzzerTestOneInput()
612 DSA *dsakey = NULL; in FuzzerTestOneInput()
630 privkey = PEM_read_bio_RSAPrivateKey(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput()
643 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput()
645 OPENSSL_assert(cert != NULL); in FuzzerTestOneInput()
655 ecdsakey = PEM_read_bio_ECPrivateKey(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput()
667 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput()
668 OPENSSL_assert(cert != NULL); in FuzzerTestOneInput()
679 dsakey = PEM_read_bio_DSAPrivateKey(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput()
[all …]

Completed in 127 milliseconds

12345678910>>...79