Home
last modified time | relevance | path

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

12

/third_party/openssl/apps/lib/
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()
Dapps.c2025 char *stmp, *vtmp = NULL; in pkey_ctrl_string() local
2027 stmp = OPENSSL_strdup(value); in pkey_ctrl_string()
2028 if (stmp == NULL) in pkey_ctrl_string()
2030 vtmp = strchr(stmp, ':'); in pkey_ctrl_string()
2036 rv = EVP_PKEY_CTX_ctrl_str(ctx, stmp, vtmp); in pkey_ctrl_string()
2039 OPENSSL_free(stmp); in pkey_ctrl_string()
3298 char *opt = "", *stmp, *vtmp = NULL; in app_params_new_from_opts() local
3310 if ((stmp = OPENSSL_strdup(opt)) == NULL in app_params_new_from_opts()
3311 || (vtmp = strchr(stmp, ':')) == NULL) in app_params_new_from_opts()
3318 stmp, vtmp, strlen(vtmp), &found)) in app_params_new_from_opts()
[all …]
/third_party/node/deps/openssl/openssl/apps/lib/
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()
/third_party/openssl/crypto/x509/
Dx509_att.c267 ASN1_STRING *stmp = NULL; in X509_ATTRIBUTE_set1_data() local
272 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
274 if (!stmp) { in X509_ATTRIBUTE_set1_data()
278 atype = stmp->type; in X509_ATTRIBUTE_set1_data()
280 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) in X509_ATTRIBUTE_set1_data()
282 if (!ASN1_STRING_set(stmp, data, len)) in X509_ATTRIBUTE_set1_data()
292 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
301 ASN1_TYPE_set(ttmp, atype, stmp); in X509_ATTRIBUTE_set1_data()
302 stmp = NULL; in X509_ATTRIBUTE_set1_data()
310 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
Dby_dir.c239 X509_OBJECT stmp, *tmp; in get_cert_by_subject_ex() local
245 stmp.type = type; in get_cert_by_subject_ex()
248 stmp.data.x509 = &data.st_x509; in get_cert_by_subject_ex()
251 stmp.data.crl = &data.crl; in get_cert_by_subject_ex()
352 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); in get_cert_by_subject_ex()
Dx509_lu.c315 X509_OBJECT stmp, *tmp; in X509_STORE_CTX_get_by_subject() local
321 stmp.type = X509_LU_NONE; in X509_STORE_CTX_get_by_subject()
322 stmp.data.ptr = NULL; in X509_STORE_CTX_get_by_subject()
333 j = X509_LOOKUP_by_subject_ex(lu, type, name, &stmp, vs->libctx, in X509_STORE_CTX_get_by_subject()
336 tmp = &stmp; in X509_STORE_CTX_get_by_subject()
505 X509_OBJECT stmp; in x509_object_idx_cnt() local
510 stmp.type = type; in x509_object_idx_cnt()
513 stmp.data.x509 = &x509_s; in x509_object_idx_cnt()
517 stmp.data.crl = &crl_s; in x509_object_idx_cnt()
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in x509_object_idx_cnt()
Dv3_ncons.c413 ASN1_STRING stmp; in NAME_CONSTRAINTS_check_CN() local
416 stmp.flags = 0; in NAME_CONSTRAINTS_check_CN()
417 stmp.type = V_ASN1_IA5STRING; in NAME_CONSTRAINTS_check_CN()
419 gntmp.d.dNSName = &stmp; in NAME_CONSTRAINTS_check_CN()
441 stmp.length = idlen; in NAME_CONSTRAINTS_check_CN()
442 stmp.data = idval; in NAME_CONSTRAINTS_check_CN()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_att.c336 ASN1_STRING *stmp = NULL; in X509_ATTRIBUTE_set1_data() local
341 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
343 if (!stmp) { in X509_ATTRIBUTE_set1_data()
347 atype = stmp->type; in X509_ATTRIBUTE_set1_data()
349 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) in X509_ATTRIBUTE_set1_data()
351 if (!ASN1_STRING_set(stmp, data, len)) in X509_ATTRIBUTE_set1_data()
361 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
370 ASN1_TYPE_set(ttmp, atype, stmp); in X509_ATTRIBUTE_set1_data()
371 stmp = NULL; in X509_ATTRIBUTE_set1_data()
379 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
Dby_dir.c239 X509_OBJECT stmp, *tmp; in get_cert_by_subject_ex() local
245 stmp.type = type; in get_cert_by_subject_ex()
248 stmp.data.x509 = &data.st_x509; in get_cert_by_subject_ex()
251 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()
Dx509_lu.c315 X509_OBJECT stmp, *tmp; in X509_STORE_CTX_get_by_subject() local
321 stmp.type = X509_LU_NONE; in X509_STORE_CTX_get_by_subject()
322 stmp.data.ptr = NULL; in X509_STORE_CTX_get_by_subject()
333 j = X509_LOOKUP_by_subject_ex(lu, type, name, &stmp, vs->libctx, in X509_STORE_CTX_get_by_subject()
336 tmp = &stmp; in X509_STORE_CTX_get_by_subject()
505 X509_OBJECT stmp; in x509_object_idx_cnt() local
510 stmp.type = type; in x509_object_idx_cnt()
513 stmp.data.x509 = &x509_s; in x509_object_idx_cnt()
517 stmp.data.crl = &crl_s; in x509_object_idx_cnt()
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in x509_object_idx_cnt()
Dv3_ncons.c413 ASN1_STRING stmp; in NAME_CONSTRAINTS_check_CN() local
416 stmp.flags = 0; in NAME_CONSTRAINTS_check_CN()
417 stmp.type = V_ASN1_IA5STRING; in NAME_CONSTRAINTS_check_CN()
419 gntmp.d.dNSName = &stmp; in NAME_CONSTRAINTS_check_CN()
441 stmp.length = idlen; in NAME_CONSTRAINTS_check_CN()
442 stmp.data = idval; in NAME_CONSTRAINTS_check_CN()
/third_party/openssl/doc/man3/
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,
/third_party/openssl/crypto/asn1/
Dx_algor.c169 ASN1_STRING *stmp = NULL; in ossl_x509_algor_md_to_mgf1() local
177 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL) in ossl_x509_algor_md_to_mgf1()
182 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in ossl_x509_algor_md_to_mgf1()
183 stmp = NULL; in ossl_x509_algor_md_to_mgf1()
185 ASN1_STRING_free(stmp); in ossl_x509_algor_md_to_mgf1()
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()
Dtasn_dec.c835 ASN1_STRING *stmp; in asn1_ex_c2i() local
926 stmp = ASN1_STRING_type_new(utype); in asn1_ex_c2i()
927 if (stmp == NULL) { in asn1_ex_c2i()
931 *pval = (ASN1_VALUE *)stmp; in asn1_ex_c2i()
933 stmp = (ASN1_STRING *)*pval; in asn1_ex_c2i()
934 stmp->type = utype; in asn1_ex_c2i()
938 OPENSSL_free(stmp->data); in asn1_ex_c2i()
939 stmp->data = (unsigned char *)cont; /* UGLY CAST! RL */ in asn1_ex_c2i()
940 stmp->length = len; in asn1_ex_c2i()
943 if (!ASN1_STRING_set(stmp, cont, len)) { in asn1_ex_c2i()
[all …]
/third_party/node/deps/openssl/openssl/crypto/asn1/
Dx_algor.c169 ASN1_STRING *stmp = NULL; in ossl_x509_algor_md_to_mgf1() local
177 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL) in ossl_x509_algor_md_to_mgf1()
182 if (!X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp)) { in ossl_x509_algor_md_to_mgf1()
187 stmp = NULL; in ossl_x509_algor_md_to_mgf1()
189 ASN1_STRING_free(stmp); in ossl_x509_algor_md_to_mgf1()
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()
Dtasn_dec.c835 ASN1_STRING *stmp; in asn1_ex_c2i() local
926 stmp = ASN1_STRING_type_new(utype); in asn1_ex_c2i()
927 if (stmp == NULL) { in asn1_ex_c2i()
931 *pval = (ASN1_VALUE *)stmp; in asn1_ex_c2i()
933 stmp = (ASN1_STRING *)*pval; in asn1_ex_c2i()
934 stmp->type = utype; in asn1_ex_c2i()
938 OPENSSL_free(stmp->data); in asn1_ex_c2i()
939 stmp->data = (unsigned char *)cont; /* UGLY CAST! RL */ in asn1_ex_c2i()
940 stmp->length = len; in asn1_ex_c2i()
943 if (!ASN1_STRING_set(stmp, cont, len)) { in asn1_ex_c2i()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/exchange/
Ddh_exch.c182 unsigned char *stmp = NULL; in dh_X9_42_kdf_derive() local
197 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in dh_X9_42_kdf_derive()
201 if (!dh_plain_derive(pdhctx, stmp, &stmplen, stmplen, 1)) in dh_X9_42_kdf_derive()
207 stmp, stmplen, in dh_X9_42_kdf_derive()
218 OPENSSL_secure_clear_free(stmp, stmplen); in dh_X9_42_kdf_derive()
Decdh_exch.c511 unsigned char *stmp = NULL; in ecdh_X9_63_kdf_derive() local
526 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in ecdh_X9_63_kdf_derive()
530 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive()
535 stmp, stmplen, in ecdh_X9_63_kdf_derive()
545 OPENSSL_secure_clear_free(stmp, stmplen); in ecdh_X9_63_kdf_derive()
/third_party/openssl/providers/implementations/exchange/
Ddh_exch.c182 unsigned char *stmp = NULL; in dh_X9_42_kdf_derive() local
197 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in dh_X9_42_kdf_derive()
201 if (!dh_plain_derive(pdhctx, stmp, &stmplen, stmplen, 1)) in dh_X9_42_kdf_derive()
207 stmp, stmplen, in dh_X9_42_kdf_derive()
218 OPENSSL_secure_clear_free(stmp, stmplen); in dh_X9_42_kdf_derive()
Decdh_exch.c511 unsigned char *stmp = NULL; in ecdh_X9_63_kdf_derive() local
526 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in ecdh_X9_63_kdf_derive()
530 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive()
535 stmp, stmplen, in ecdh_X9_63_kdf_derive()
545 OPENSSL_secure_clear_free(stmp, stmplen); in ecdh_X9_63_kdf_derive()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Denums2names.py139 stmp = smatch.group(1)
144 self.name = stmp
/third_party/node/deps/openssl/openssl/apps/
Ds_client.c754 BIO *stmp = BIO_new_file(sess_out, "w"); in new_session_cb() local
756 if (stmp == NULL) { in new_session_cb()
759 PEM_write_bio_SSL_SESSION(stmp, sess); in new_session_cb()
760 BIO_free(stmp); in new_session_cb()
1809 BIO *stmp = BIO_new_file(psksessf, "r"); in s_client_main() local
1811 if (stmp == NULL) { in s_client_main()
1816 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_client_main()
1817 BIO_free(stmp); in s_client_main()
1954 BIO *stmp = BIO_new_file(sess_in, "r"); in s_client_main() local
1955 if (stmp == NULL) { in s_client_main()
[all …]
/third_party/openssl/apps/
Ds_client.c754 BIO *stmp = BIO_new_file(sess_out, "w"); in new_session_cb() local
756 if (stmp == NULL) { in new_session_cb()
759 PEM_write_bio_SSL_SESSION(stmp, sess); in new_session_cb()
760 BIO_free(stmp); in new_session_cb()
1809 BIO *stmp = BIO_new_file(psksessf, "r"); in s_client_main() local
1811 if (stmp == NULL) { in s_client_main()
1816 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_client_main()
1817 BIO_free(stmp); in s_client_main()
1954 BIO *stmp = BIO_new_file(sess_in, "r"); in s_client_main() local
1955 if (stmp == NULL) { in s_client_main()
[all …]

12