Home
last modified time | relevance | path

Searched refs:NULL (Results 226 – 250 of 1992) sorted by relevance

12345678910>>...80

/openssl/crypto/evp/
H A Dp5_crpt2.c35 if (pass == NULL) { in ossl_pkcs5_pbkdf2_hmac_ex()
45 if (kdf == NULL) in ossl_pkcs5_pbkdf2_hmac_ex()
49 if (kctx == NULL) in ossl_pkcs5_pbkdf2_hmac_ex()
88 keylen, out, NULL, NULL); in PKCS5_PBKDF2_HMAC()
99 if ((digest = EVP_MD_fetch(NULL, SN_sha1, NULL)) != NULL) in PKCS5_PBKDF2_HMAC_SHA1()
101 digest, keylen, out, NULL, NULL); in PKCS5_PBKDF2_HMAC_SHA1()
133 NULL, NULL, NULL, &kdf)) { in PKCS5_v2_PBE_keyivgen_ex()
160 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen_ex()
205 if (kdf == NULL) { in PKCS5_v2_PBKDF2_keyivgen_ex()
257 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen_ex()
[all …]
H A Devp_lib.c60 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1)) in EVP_CIPHER_get_asn1_iv()
87 if (c == NULL || c->cipher == NULL) in evp_cipher_param_to_asn1_ex()
158 if (c == NULL || c->cipher == NULL) in evp_cipher_asn1_to_param_ex()
228 if (type == NULL || asn1_params == NULL) in evp_cipher_get_asn1_aead_params()
245 if (type == NULL || asn1_params == NULL) in evp_cipher_set_asn1_aead_params()
385 if (ctx == NULL || ctx->cipher == NULL) in EVP_Cipher()
442 if (ctx == NULL || ctx->cipher == NULL) in EVP_CIPHER_CTX_get1_cipher()
701 return NULL; in EVP_CIPHER_get0_name()
712 return NULL; in EVP_CIPHER_get0_description()
757 return NULL; in EVP_MD_get0_description()
[all …]
/openssl/crypto/ec/
H A Dec_mult.c55 return NULL; in ec_pre_comp_new()
58 if (ret == NULL) in ec_pre_comp_new()
67 return NULL; in ec_pre_comp_new()
75 if (pre != NULL) in EC_ec_pre_comp_dup()
84 if (pre == NULL) in EC_ec_pre_comp_free()
146 BIGNUM *k = NULL; in ossl_ec_scalar_mul_ladder()
191 if (k == NULL) { in ossl_ec_scalar_mul_ladder()
517 if (wsize == NULL || wNAF_len == NULL || wNAF == NULL || val_sub == NULL) in ossl_ec_wNAF_mul()
655 if (val == NULL) in ossl_ec_wNAF_mul()
822 EC_POINT *tmp_point = NULL, *base = NULL, **var; in ossl_ec_wNAF_precompute_mult()
[all …]
H A Dec_lib.c36 return NULL; in ossl_ec_group_new_ex()
40 return NULL; in ossl_ec_group_new_ex()
44 if (ret == NULL) in ossl_ec_group_new_ex()
45 return NULL; in ossl_ec_group_new_ex()
73 return NULL; in ossl_ec_group_new_ex()
80 return ossl_ec_group_new_ex(NULL, NULL, meth); in EC_GROUP_new()
685 if (ao == NULL || bo == NULL) { in EC_GROUP_cmp()
1132 if (g_scalar == NULL && p_scalar == NULL) in EC_POINT_mul()
1144 num = (point != NULL && p_scalar != NULL) ? 1 : 0; in EC_POINT_mul()
1409 EC_GROUP *ret_group = NULL, *dup = NULL; in ec_group_explicit_to_named()
[all …]
H A Deck_prn.c73 BN_CTX *ctx = NULL; in ECPKParameters_print()
75 BIGNUM *p = NULL, *a = NULL, *b = NULL; in ECPKParameters_print()
77 const BIGNUM *order = NULL, *cofactor = NULL; in ECPKParameters_print()
91 if (ctx == NULL) { in ECPKParameters_print()
128 if ((p = BN_new()) == NULL || (a = BN_new()) == NULL || in ECPKParameters_print()
183 if ((p != NULL) && !ASN1_bn_print(bp, "Polynomial:", p, NULL, in ECPKParameters_print()
187 if ((p != NULL) && !ASN1_bn_print(bp, "Prime:", p, NULL, off)) in ECPKParameters_print()
190 if ((a != NULL) && !ASN1_bn_print(bp, "A: ", a, NULL, off)) in ECPKParameters_print()
192 if ((b != NULL) && !ASN1_bn_print(bp, "B: ", b, NULL, off)) in ECPKParameters_print()
205 if ((order != NULL) && !ASN1_bn_print(bp, "Order: ", order, NULL, off)) in ECPKParameters_print()
[all …]
H A Decx_backend.c62 if (ecx == NULL) in ossl_ecx_key_fromdata()
70 if (param_pub_key == NULL && param_priv_key == NULL) in ossl_ecx_key_fromdata()
113 if (ret == NULL) in ossl_ecx_key_dup()
114 return NULL; in ossl_ecx_key_dup()
150 return NULL; in ossl_ecx_key_dup()
159 ECX_KEY *key = NULL; in ossl_ecx_key_op()
167 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in ossl_ecx_key_op()
187 if (key == NULL) { in ossl_ecx_key_op()
226 return NULL; in ossl_ecx_key_op()
242 if (oct == NULL) { in ossl_ecx_key_from_pkcs8()
[all …]
H A Decp_s390x_nistp.c60 if (ctx == NULL) { in ec_GFp_s390x_nistp_mul()
70 if (x == NULL || y == NULL) { in ec_GFp_s390x_nistp_mul()
142 if (group == NULL || privkey == NULL) { in ecdsa_s390x_nistp_sign_sig()
144 return NULL; in ecdsa_s390x_nistp_sign_sig()
149 return NULL; in ecdsa_s390x_nistp_sign_sig()
154 if (k == NULL || sig == NULL) { in ecdsa_s390x_nistp_sign_sig()
161 if (sig->r == NULL || sig->s == NULL) { in ecdsa_s390x_nistp_sign_sig()
175 if (r == NULL || kinv == NULL) { in ecdsa_s390x_nistp_sign_sig()
218 sig = NULL; in ecdsa_s390x_nistp_sign_sig()
238 if (eckey == NULL || group == NULL || pubkey == NULL || sig == NULL) { in ecdsa_s390x_nistp_verify_sig()
[all …]
/openssl/test/
H A Dfake_rsaprov.c50 return NULL; in fake_rsa_keymgmt_new()
223 return NULL; in fake_rsa_keymgmt_load()
227 return NULL; in fake_rsa_keymgmt_load()
241 return NULL; in fake_rsa_gen_init()
256 return NULL; in fake_rsa_gen()
259 return NULL; in fake_rsa_gen()
291 { NULL, NULL, NULL, NULL }
524 { NULL, NULL, NULL, NULL }
590 storectx = fake_rsa_st_open_ex(provctx, uri, NULL, NULL, NULL); in fake_rsa_st_open()
702 { NULL, NULL, NULL }
[all …]
H A Dec_internal_test.c28 BIGNUM *a = NULL, *b = NULL, *c = NULL; in group_field_tests()
31 if (group->meth->field_inv == NULL || group->meth->field_mul == NULL) in group_field_tests()
80 BIGNUM *p = NULL, *a = NULL, *b = NULL; in field_tests()
187 if (ctx != NULL) in field_tests_default()
201 EC_POINT *P = NULL, *Q = NULL, *R = NULL; in underflow_test()
202 BIGNUM *x1 = NULL, *y1 = NULL, *z1 = NULL, *x2 = NULL, *y2 = NULL; in underflow_test()
268 EC_KEY *key = NULL, *aux_key = NULL; in set_private_key()
399 EC_GROUP *g1 = NULL, *g2 = NULL; in ecpkparams_i2d2i_test()
415 fp = NULL; in ecpkparams_i2d2i_test()
418 fp = NULL; in ecpkparams_i2d2i_test()
[all …]
H A Dcrltest.c44 NULL
70 NULL
85 NULL
101 NULL
108 NULL
124 NULL
144 NULL
163 NULL
183 NULL
219 crl = PEM_read_bio_X509_CRL(b, NULL, NULL, NULL); in CRL_from_strings()
[all …]
H A Ddrbgtest.c592 NULL, NULL, in test_rand_reseed()
601 NULL, NULL, in test_rand_reseed()
612 NULL, NULL, in test_rand_reseed()
624 NULL, NULL, in test_rand_reseed()
636 NULL, NULL, in test_rand_reseed()
655 NULL, NULL, in test_rand_reseed()
684 EVP_RAND_CTX *public = NULL, *private = NULL; in run_multi_thread_test()
720 *t = CreateThread(NULL, 0, thread_run, NULL, 0, NULL); in run_thread()
746 return pthread_create(t, NULL, thread_run, NULL) == 0; in run_thread()
804 EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL; in test_rand_prediction_resistance()
[all …]
H A Dbntest.c153 BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL; in test_swap()
278 BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL; in test_div_recip()
393 BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL; in test_mod()
474 BIGNUM *a = NULL, *p = NULL, *m = NULL, *d = NULL, *e = NULL; in test_modexp_mont5()
771 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL, *e = NULL; in test_gf2m_mod()
864 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; in test_gf2m_sqr()
903 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; in test_gf2m_modinv()
948 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; in test_gf2m_moddiv()
992 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; in test_gf2m_modexp()
1040 BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; in test_gf2m_modsqrt()
[all …]
/openssl/apps/
H A Decparam.c65 {NULL}
84 if (sname == NULL) in list_builtin_curves()
98 EVP_PKEY_CTX *gctx_params = NULL, *gctx_key = NULL, *pctx = NULL; in ecparam_main()
99 EVP_PKEY *params_key = NULL, *key = NULL; in ecparam_main()
100 OSSL_ENCODER_CTX *ectx_key = NULL, *ectx_params = NULL; in ecparam_main()
102 ENGINE *e = NULL; in ecparam_main()
103 BIO *out = NULL; in ecparam_main()
107 char *infile = NULL, *outfile = NULL, *prog; in ecparam_main()
198 if (out == NULL) in ecparam_main()
310 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
[all …]
/openssl/crypto/cms/
H A Dcms_sd.c31 return NULL; in cms_get0_signed()
42 return NULL; in cms_signed_data_init()
240 CMS_SignerInfo_get0_algs(si, NULL, NULL, &alg1, &alg2); in cms_generic_sign()
241 if (alg1 == NULL || alg1->algorithm == NULL) in cms_generic_sign()
270 if (pkey->ameth == NULL || pkey->ameth->pkey_ctrl == NULL) in cms_sd_asn1_ctrl()
410 X509_ALGOR_get0(&aoid, NULL, NULL, alg); in CMS_add1_signer()
534 return NULL; in CMS_add1_signer()
561 if (t != NULL) in cms_add1_signingTime()
579 if (t == NULL) in cms_add1_signingTime()
600 return sd != NULL ? sd->signerInfos : NULL; in STACK_OF()
[all …]
/openssl/crypto/
H A Dgetenv.c22 char *val = NULL; in ossl_safe_getenv()
24 WCHAR *namew = NULL; in ossl_safe_getenv()
25 WCHAR *valw = NULL; in ossl_safe_getenv()
49 if (NULL != namew) { in ossl_safe_getenv()
60 if (NULL != valw) { in ossl_safe_getenv()
65 NULL, NULL); in ossl_safe_getenv()
72 if (NULL != val) { in ossl_safe_getenv()
75 NULL, NULL) == 0) { in ossl_safe_getenv()
81 if (NULL != namew) in ossl_safe_getenv()
84 if (NULL != valw) in ossl_safe_getenv()
[all …]
H A Dmem.c112 if (semi != NULL) in parseit()
120 if (semi != NULL) in parseit()
168 if (cp != NULL && (md_failstring = strdup(cp)) != NULL) in ossl_malloc_setup_failures()
190 return NULL; in CRYPTO_malloc()
203 if (ptr != NULL) in CRYPTO_malloc()
215 return NULL; in CRYPTO_malloc()
223 if (ret != NULL) in CRYPTO_zalloc()
234 *freeptr = NULL; in CRYPTO_aligned_alloc()
243 return NULL; in CRYPTO_aligned_alloc()
266 return NULL; in CRYPTO_aligned_alloc()
[all …]
/openssl/providers/implementations/kdfs/
H A Dx942kdf.c212 unsigned char *pcounter = NULL, *der_buf = NULL; in x942_encode_otherinfo()
278 EVP_MD_CTX *ctx = NULL, *ctx_init = NULL; in x942kdf_hash_kdm()
295 if (ctx == NULL || ctx_init == NULL) in x942kdf_hash_kdm()
411 return NULL; in x942kdf_dup()
421 *out = NULL; in x942kdf_set_buffer()
555 if (p == NULL) in x942kdf_set_ctx_params()
567 if (p != NULL in x942kdf_set_ctx_params()
572 if (p == NULL) in x942kdf_set_ctx_params()
574 if (p != NULL in x942kdf_set_ctx_params()
579 if (p != NULL in x942kdf_set_ctx_params()
[all …]
/openssl/providers/fips/
H A Dfipsprov.c285 { NULL, NULL, NULL }
346 { { NULL, NULL, NULL }, NULL }
358 { NULL, NULL, NULL }
368 { NULL, NULL, NULL }
385 { NULL, NULL, NULL }
394 { NULL, NULL, NULL }
411 { NULL, NULL, NULL }
480 { NULL, NULL, NULL }
485 { NULL, NULL, NULL }
490 { NULL, NULL, NULL }
[all …]
/openssl/demos/cipher/
H A Daesccm.c67 static OSSL_LIB_CTX *libctx = NULL;
68 static const char *propq = NULL;
75 EVP_CIPHER *cipher = NULL; in aes_ccm_encrypt()
90 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) in aes_ccm_encrypt()
108 if (!EVP_EncryptInit_ex2(ctx, cipher, NULL, NULL, params)) in aes_ccm_encrypt()
112 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_encrypt()
116 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, NULL, sizeof(ccm_pt))) in aes_ccm_encrypt()
162 EVP_CIPHER *cipher = NULL; in aes_ccm_decrypt()
192 if (!EVP_DecryptInit_ex2(ctx, cipher, NULL, NULL, params)) in aes_ccm_decrypt()
196 if (!EVP_DecryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_decrypt()
[all …]
/openssl/crypto/x509/
H A Dx509_cmp.c24 if (b == NULL) in X509_issuer_and_serial_cmp()
26 if (a == NULL) in X509_issuer_and_serial_cmp()
42 char *f = NULL; in X509_issuer_and_serial_hash()
45 if (ctx == NULL) in X509_issuer_and_serial_hash()
48 if (f == NULL) in X509_issuer_and_serial_hash()
110 return X509_NAME_hash_ex(x->cert_info.issuer, NULL, NULL, NULL); in X509_issuer_name_hash()
137 return X509_NAME_hash_ex(x->cert_info.subject, NULL, NULL, NULL); in X509_subject_name_hash()
186 if (*p_sk == NULL && (*p_sk = sk_X509_new_null()) == NULL) { in ossl_x509_add_cert_new()
281 if (a->canon_enc == NULL || b->canon_enc == NULL) in X509_NAME_cmp()
325 if (md5 == NULL || md_ctx == NULL) in X509_NAME_hash_old()
[all …]
/openssl/ssl/quic/
H A Dquic_sf_list.c35 if (sf == NULL) in stream_frame_new()
36 return NULL; in stream_frame_new()
38 if (pkt != NULL) in stream_frame_new()
116 prev_frame = NULL; in ossl_sframe_list_insert()
188 if (sf == NULL) { in ossl_sframe_list_peek()
201 *data = NULL; in ossl_sframe_list_peek()
202 *iter = NULL; in ossl_sframe_list_peek()
212 *data = NULL; in ossl_sframe_list_peek()
241 if (sf != NULL) in ossl_sframe_list_drop_frames()
256 void *iter = NULL; in ossl_sframe_list_lock_head()
[all …]
/openssl/crypto/asn1/
H A Da_sign.c32 unsigned char *p, *buf_in = NULL, *buf_out = NULL; in ASN1_sign()
37 if (ctx == NULL) { in ASN1_sign()
46 if (a == NULL) in ASN1_sign()
83 if (buf_in == NULL || buf_out == NULL) { in ASN1_sign()
99 buf_out = NULL; in ASN1_sign()
119 md, NULL, NULL); in ASN1_item_sign()
131 if (ctx == NULL) { in ASN1_item_sign_ex()
136 if (!EVP_DigestSignInit(ctx, NULL, md, NULL, pkey)) in ASN1_item_sign_ex()
153 unsigned char *buf_in = NULL, *buf_out = NULL; in ASN1_item_sign_ctx()
270 if (buf_in == NULL || buf_out == NULL) { in ASN1_item_sign_ctx()
[all …]
/openssl/crypto/dso/
H A Ddso_dl.c55 shl_t ptr = NULL; in dl_load()
70 if (ptr == NULL) { in dl_load()
94 if (ptr != NULL) in dl_load()
127 if ((dso == NULL) || (symname == NULL)) { in dl_bind_func()
129 return NULL; in dl_bind_func()
133 return NULL; in dl_bind_func()
138 return NULL; in dl_bind_func()
149 return NULL; in dl_bind_func()
160 return NULL; in dl_merger()
230 return NULL; in dl_name_converter()
[all …]
/openssl/providers/implementations/signature/
H A Decdsa_sig.c148 return NULL; in ecdsa_newctx()
151 if (ctx == NULL) in ecdsa_newctx()
152 return NULL; in ecdsa_newctx()
162 ctx = NULL; in ecdsa_newctx()
269 if (ec == NULL && ctx->ec == NULL) { in ecdsa_signverify_init()
387 if (sig != NULL in ecdsa_sign_message_final()
547 if (ctx == NULL || ctx->mdctx == NULL) in ecdsa_digest_signverify_update()
637 if (srcctx->kinv != NULL || srcctx->r != NULL) in ecdsa_dupctx()
661 return NULL; in ecdsa_dupctx()
744 if (p != NULL in ecdsa_common_set_ctx_params()
[all …]
/openssl/crypto/cmp/
H A Dcmp_status.c35 if (!ossl_assert(si != NULL && si->status != NULL)) in ossl_cmp_pkisi_get_status()
61 return NULL; in ossl_cmp_PKIStatus_to_string()
68 return NULL; in ossl_cmp_pkisi_get0_statusString()
154 if (!ossl_assert(si != NULL && si->failInfo != NULL)) in ossl_cmp_pkisi_check_pkifailureinfo()
182 if (buf == NULL in snprint_PKIStatusInfo_parts()
185 return NULL; in snprint_PKIStatusInfo_parts()
189 return NULL; \ in snprint_PKIStatusInfo_parts()
248 return NULL; in OSSL_CMP_snprint_PKIStatusInfo()
263 return NULL; in OSSL_CMP_CTX_snprint_PKIStatus()
285 if (si == NULL) in OSSL_CMP_STATUSINFO_new()
[all …]

Completed in 132 milliseconds

12345678910>>...80