/openssl/apps/lib/ |
H A D | app_x509.c | 90 char *stmp, *vtmp = NULL; in do_x509_ctrl_string() local 94 stmp = OPENSSL_strdup(value); in do_x509_ctrl_string() 95 if (stmp == NULL) in do_x509_ctrl_string() 97 vtmp = strchr(stmp, ':'); in do_x509_ctrl_string() 104 if (strcmp(stmp, "distid") == 0) { in do_x509_ctrl_string() 108 } else if (strcmp(stmp, "hexdistid") == 0) { in do_x509_ctrl_string() 114 OPENSSL_free(stmp); in do_x509_ctrl_string() 115 stmp = vtmp = hexid; in do_x509_ctrl_string() 125 OPENSSL_free(stmp); in do_x509_ctrl_string()
|
H A D | apps.c | 2095 char *stmp, *vtmp = NULL; in pkey_ctrl_string() local 2097 stmp = OPENSSL_strdup(value); in pkey_ctrl_string() 2098 if (stmp == NULL) in pkey_ctrl_string() 2100 vtmp = strchr(stmp, ':'); in pkey_ctrl_string() 2106 rv = EVP_PKEY_CTX_ctrl_str(ctx, stmp, vtmp); in pkey_ctrl_string() 2109 OPENSSL_free(stmp); in pkey_ctrl_string() 3411 char *opt = "", *stmp, *vtmp = NULL; in app_params_new_from_opts() local 3423 if ((stmp = OPENSSL_strdup(opt)) == NULL in app_params_new_from_opts() 3424 || (vtmp = strchr(stmp, ':')) == NULL) in app_params_new_from_opts() 3433 OPENSSL_free(stmp); in app_params_new_from_opts() [all …]
|
/openssl/crypto/x509/ |
H A D | x509_att.c | 348 ASN1_STRING *stmp = NULL; in X509_ATTRIBUTE_set1_data() local 356 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data() 358 if (stmp == NULL) { in X509_ATTRIBUTE_set1_data() 362 atype = stmp->type; in X509_ATTRIBUTE_set1_data() 364 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL in X509_ATTRIBUTE_set1_data() 365 || !ASN1_STRING_set(stmp, data, len)) { in X509_ATTRIBUTE_set1_data() 377 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data() 390 ASN1_TYPE_set(ttmp, atype, stmp); in X509_ATTRIBUTE_set1_data() 391 stmp = NULL; in X509_ATTRIBUTE_set1_data() 400 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
|
H A D | by_dir.c | 235 X509_OBJECT stmp, *tmp; in get_cert_by_subject_ex() local 241 stmp.type = type; in get_cert_by_subject_ex() 244 stmp.data.x509 = &data.st_x509; in get_cert_by_subject_ex() 247 stmp.data.crl = &data.crl; in get_cert_by_subject_ex() 353 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); in get_cert_by_subject_ex()
|
H A D | x509_lu.c | 327 X509_OBJECT stmp, *tmp; in ossl_x509_store_ctx_get_by_subject() local 333 stmp.type = X509_LU_NONE; in ossl_x509_store_ctx_get_by_subject() 334 stmp.data.x509 = NULL; in ossl_x509_store_ctx_get_by_subject() 360 j = X509_LOOKUP_by_subject_ex(lu, type, name, &stmp, in ossl_x509_store_ctx_get_by_subject() 363 tmp = &stmp; in ossl_x509_store_ctx_get_by_subject() 540 X509_OBJECT stmp; in x509_object_idx_cnt() local 544 stmp.type = type; in x509_object_idx_cnt() 547 stmp.data.x509 = &x509_s; in x509_object_idx_cnt() 551 stmp.data.crl = &crl_s; in x509_object_idx_cnt() 561 return sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in x509_object_idx_cnt()
|
H A D | v3_ncons.c | 442 ASN1_STRING stmp; in NAME_CONSTRAINTS_check_CN() local 445 stmp.flags = 0; in NAME_CONSTRAINTS_check_CN() 446 stmp.type = V_ASN1_IA5STRING; in NAME_CONSTRAINTS_check_CN() 448 gntmp.d.dNSName = &stmp; in NAME_CONSTRAINTS_check_CN() 470 stmp.length = idlen; in NAME_CONSTRAINTS_check_CN() 471 stmp.data = idval; in NAME_CONSTRAINTS_check_CN()
|
/openssl/doc/man3/ |
H A D | OSSL_PARAM_allocate_from_text.pod | 129 char *stmp, *vtmp = NULL; 131 stmp = OPENSSL_strdup(value); 132 if (stmp == NULL) 134 vtmp = strchr(stmp, ':'); 137 rv = EVP_MAC_ctrl_str(ctx, stmp, vtmp); 138 OPENSSL_free(stmp); 167 char *stmp, *vtmp = NULL; 170 if ((stmp = OPENSSL_strdup(opt)) == NULL 171 || (vtmp = strchr(stmp, ':')) == NULL) 176 paramdefs, stmp,
|
/openssl/crypto/asn1/ |
H A D | x_algor.c | 181 ASN1_STRING *stmp = NULL; in ossl_x509_algor_md_to_mgf1() local 189 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL) in ossl_x509_algor_md_to_mgf1() 191 *palg = ossl_X509_ALGOR_from_nid(NID_mgf1, V_ASN1_SEQUENCE, stmp); in ossl_x509_algor_md_to_mgf1() 194 stmp = NULL; in ossl_x509_algor_md_to_mgf1() 196 ASN1_STRING_free(stmp); in ossl_x509_algor_md_to_mgf1()
|
H A D | a_strex.c | 607 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8() local 618 stmp.data = NULL; in ASN1_STRING_to_UTF8() 619 stmp.length = 0; in ASN1_STRING_to_UTF8() 620 stmp.flags = 0; in ASN1_STRING_to_UTF8() 626 *out = stmp.data; in ASN1_STRING_to_UTF8() 627 return stmp.length; in ASN1_STRING_to_UTF8()
|
H A D | tasn_dec.c | 835 ASN1_STRING *stmp; in asn1_ex_c2i() local 934 stmp = ASN1_STRING_type_new(utype); in asn1_ex_c2i() 935 if (stmp == NULL) { in asn1_ex_c2i() 939 *pval = (ASN1_VALUE *)stmp; in asn1_ex_c2i() 941 stmp = (ASN1_STRING *)*pval; in asn1_ex_c2i() 942 stmp->type = utype; in asn1_ex_c2i() 946 ASN1_STRING_set0(stmp, (unsigned char *)cont /* UGLY CAST! */, len); in asn1_ex_c2i() 949 if (!ASN1_STRING_set(stmp, cont, len)) { in asn1_ex_c2i() 951 ASN1_STRING_free(stmp); in asn1_ex_c2i()
|
/openssl/providers/implementations/exchange/ |
H A D | dh_exch.c | 215 unsigned char *stmp = NULL; in dh_X9_42_kdf_derive() local 230 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) in dh_X9_42_kdf_derive() 232 if (!dh_plain_derive(pdhctx, stmp, &stmplen, stmplen, 1)) in dh_X9_42_kdf_derive() 238 stmp, stmplen, in dh_X9_42_kdf_derive() 249 OPENSSL_secure_clear_free(stmp, stmplen); in dh_X9_42_kdf_derive()
|
H A D | ecdh_exch.c | 583 unsigned char *stmp = NULL; in ecdh_X9_63_kdf_derive() local 598 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) in ecdh_X9_63_kdf_derive() 600 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive() 605 stmp, stmplen, in ecdh_X9_63_kdf_derive() 615 OPENSSL_secure_clear_free(stmp, stmplen); in ecdh_X9_63_kdf_derive()
|
/openssl/apps/ |
H A D | s_client.c | 816 BIO *stmp = BIO_new_file(sess_out, "w"); in new_session_cb() local 818 if (stmp == NULL) { in new_session_cb() 821 PEM_write_bio_SSL_SESSION(stmp, sess); in new_session_cb() 822 BIO_free(stmp); in new_session_cb() 1933 BIO *stmp = BIO_new_file(psksessf, "r"); in s_client_main() local 1935 if (stmp == NULL) { in s_client_main() 1941 BIO_free(stmp); in s_client_main() 2090 BIO *stmp = BIO_new_file(sess_in, "r"); in s_client_main() local 2091 if (stmp == NULL) { in s_client_main() 2096 sess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_client_main() [all …]
|
H A D | s_server.c | 2223 BIO *stmp = BIO_new_file(psksessf, "r"); in s_server_main() local 2225 if (stmp == NULL) { in s_server_main() 2230 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_server_main() 2231 BIO_free(stmp); in s_server_main()
|
/openssl/ssl/ |
H A D | t1_lib.c | 2851 unsigned int stmp; in tls1_save_u16() local 2865 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16() 2866 buf[i] = stmp; in tls1_save_u16()
|