Home
last modified time | relevance | path

Searched refs:stmp (Results 1 – 15 of 15) sorted by relevance

/openssl/apps/lib/
H A Dapp_x509.c90 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 Dapps.c2066 char *stmp, *vtmp = NULL; in pkey_ctrl_string() local
2068 stmp = OPENSSL_strdup(value); in pkey_ctrl_string()
2069 if (stmp == NULL) in pkey_ctrl_string()
2071 vtmp = strchr(stmp, ':'); in pkey_ctrl_string()
2077 rv = EVP_PKEY_CTX_ctrl_str(ctx, stmp, vtmp); in pkey_ctrl_string()
2080 OPENSSL_free(stmp); in pkey_ctrl_string()
3382 char *opt = "", *stmp, *vtmp = NULL; in app_params_new_from_opts() local
3394 if ((stmp = OPENSSL_strdup(opt)) == NULL in app_params_new_from_opts()
3395 || (vtmp = strchr(stmp, ':')) == NULL) in app_params_new_from_opts()
3404 OPENSSL_free(stmp); in app_params_new_from_opts()
[all …]
/openssl/crypto/x509/
H A Dx509_att.c348 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 Dby_dir.c235 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 Dx509_lu.c327 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.ptr = 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()
538 X509_OBJECT stmp; in x509_object_idx_cnt() local
542 stmp.type = type; in x509_object_idx_cnt()
545 stmp.data.x509 = &x509_s; in x509_object_idx_cnt()
549 stmp.data.crl = &crl_s; in x509_object_idx_cnt()
559 return sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in x509_object_idx_cnt()
H A Dv3_ncons.c442 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 DOSSL_PARAM_allocate_from_text.pod129 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 Dx_algor.c181 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 Da_strex.c607 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 Dtasn_dec.c835 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 Ddh_exch.c215 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 Decdh_exch.c580 unsigned char *stmp = NULL; in ecdh_X9_63_kdf_derive() local
595 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) in ecdh_X9_63_kdf_derive()
597 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive()
602 stmp, stmplen, in ecdh_X9_63_kdf_derive()
612 OPENSSL_secure_clear_free(stmp, stmplen); in ecdh_X9_63_kdf_derive()
/openssl/apps/
H A Ds_client.c816 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 Ds_server.c2223 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 Dt1_lib.c2789 unsigned int stmp; in tls1_save_u16() local
2803 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
2804 buf[i] = stmp; in tls1_save_u16()

Completed in 95 milliseconds