/openssl/ssl/ |
H A D | t1_trce.c | 53 BIO_indent(bio, indent, 80); in do_ssl_trace_list() 655 BIO_indent(bio, indent, 80); in ssl_print_hex() 693 BIO_indent(bio, indent, 80); in ssl_print_version() 714 BIO_indent(bio, indent, 80); in ssl_print_random() 750 BIO_indent(bio, indent, 80); in ssl_print_extension() 960 BIO_indent(bio, indent, 80); in ssl_print_extensions() 1027 BIO_indent(bio, indent, 80); in ssl_print_client_hello() 1047 BIO_indent(bio, indent, 80); in ssl_print_client_hello() 1089 BIO_indent(bio, indent, 80); in ssl_print_server_hello() 1163 BIO_indent(bio, indent, 80); in ssl_print_client_keyex() [all …]
|
/openssl/crypto/x509/ |
H A D | v3_ac_tgt.c | 24 BIO *out, int indent); 27 BIO *out, int indent); 30 BIO *out, int indent); 33 BIO *out, int indent); 77 BIO *out, int indent) 103 BIO *out, int indent) in i2r_OBJECT_DIGEST_INFO() argument 161 BIO *out, int indent) in i2r_TARGET_CERT() argument 163 BIO_printf(out, "%*s", indent, ""); in i2r_TARGET_CERT() 183 BIO *out, int indent) in i2r_TARGET() argument 206 BIO *out, int indent) in i2r_TARGETS() argument [all …]
|
H A D | v3_attrdesc.c | 51 BIO *out, int indent) 53 if (BIO_printf(out, "%*sAlgorithm: ", indent, "") <= 0) 63 indent + 4) <= 0) 68 if (BIO_printf(out, "%*sHash Value: ", indent, "") <= 0) 75 BIO *out, int indent) in i2r_INFO_SYNTAX_POINTER() argument 77 if (BIO_printf(out, "%*sNames:\n", indent, "") <= 0) in i2r_INFO_SYNTAX_POINTER() 84 if (BIO_printf(out, "%*sHash:\n", indent, "") <= 0) in i2r_INFO_SYNTAX_POINTER() 94 BIO *out, int indent) in i2r_OSSL_INFO_SYNTAX() argument 98 if (BIO_printf(out, "%*sContent: ", indent, "") <= 0) in i2r_OSSL_INFO_SYNTAX() 142 if (BIO_printf(out, "%*sSyntax:\n", indent, "") <= 0) in i2r_OSSL_ATTRIBUTE_DESCRIPTOR() [all …]
|
H A D | v3_prn.c | 32 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn() 40 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn() 71 int indent) in X509V3_EXT_print() argument 102 BIO_printf(out, "%*s%s", indent, "", value); in X509V3_EXT_print() 121 X509V3_EXT_val_prn(out, nval, indent, in X509V3_EXT_print() 124 if (!method->i2r(method, ext_str, out, indent)) in X509V3_EXT_print() 149 BIO_printf(bp, "%*s%s:\n", indent, "", title); in X509V3_extensions_print() 150 indent += 4; in X509V3_extensions_print() 163 if (indent && BIO_printf(bp, "%*s", indent, "") <= 0) in X509V3_extensions_print() 170 BIO_printf(bp, "%*s", indent + 4, ""); in X509V3_extensions_print() [all …]
|
H A D | x_attrib.c | 78 int indent) in ossl_print_attribute_value() argument 96 if (BIO_printf(out, "%*s", indent, "") < 0) in ossl_print_attribute_value() 105 if (BIO_printf(out, "%*s", indent, "") < 0) in ossl_print_attribute_value() 112 if (BIO_printf(out, "%*s", indent, "") < 0) in ossl_print_attribute_value() 121 if (BIO_printf(out, "%*s", indent, "") < 0) in ossl_print_attribute_value() 133 return BIO_printf(out, "%*s%.*s", indent, "", in ossl_print_attribute_value() 141 return BIO_printf(out, "%*s%.*s", indent, "", in ossl_print_attribute_value() 202 return BIO_printf(out, "%*s%.*s", indent, "", in ossl_print_attribute_value() 207 return BIO_printf(out, "%*s%.*s", indent, "", in ossl_print_attribute_value() 212 return BIO_printf(out, "%*s%.*s", indent, "", in ossl_print_attribute_value() [all …]
|
H A D | v3_authattid.c | 27 BIO *out, int indent) in ASN1_ITEM_TEMPLATE() 30 BIO_printf(out, "%*sIssuer Names:\n", indent, ""); in ASN1_ITEM_TEMPLATE() 31 OSSL_GENERAL_NAMES_print(out, iss->issuer, indent); in ASN1_ITEM_TEMPLATE() 34 BIO_printf(out, "%*sIssuer Names: <none>\n", indent, ""); in ASN1_ITEM_TEMPLATE() 36 BIO_printf(out, "%*sIssuer Serial: ", indent, ""); in ASN1_ITEM_TEMPLATE() 41 BIO_printf(out, "%*sIssuer UID: ", indent, ""); in ASN1_ITEM_TEMPLATE() 46 BIO_printf(out, "%*sIssuer UID: <none>\n", indent, ""); in ASN1_ITEM_TEMPLATE() 53 BIO *out, int indent) in i2r_auth_attr_id() argument 59 if (BIO_printf(out, "%*sIssuer-Serials:\n", indent, "") <= 0) in i2r_auth_attr_id() 62 if (i2r_ISSUER_SERIAL(method, aid, out, indent + 4) <= 0) in i2r_auth_attr_id()
|
H A D | v3_rolespec.c | 33 BIO *out, int indent) 35 if (BIO_printf(out, "%*sRole Name: ", indent, "") <= 0) 41 if (BIO_printf(out, "%*sRole Certificate Issuer: ", indent, "") <= 0) 48 if (BIO_printf(out, "%*sRole Certificate Serial Number:", indent, "") <= 0) 50 if (ossl_serial_number_print(out, rscid->roleCertSerialNumber, indent) != 0) 56 if (BIO_printf(out, "%*sRole Certificate Locator:\n", indent, "") <= 0) 58 if (OSSL_GENERAL_NAMES_print(out, rscid->roleCertLocator, indent) <= 0) 66 BIO *out, int indent) in i2r_OSSL_ROLE_SPEC_CERT_ID_SYNTAX() argument 76 indent, "", i + 1) <= 0) in i2r_OSSL_ROLE_SPEC_CERT_ID_SYNTAX() 79 if (i2r_OSSL_ROLE_SPEC_CERT_ID(method, rscid, out, indent + 4) != 1) in i2r_OSSL_ROLE_SPEC_CERT_ID_SYNTAX()
|
H A D | v3_crld.c | 24 int indent); 186 ASN1_BIT_STRING *rflags, int indent) in print_reasons() argument 190 BIO_printf(out, "%*s%s:\n%*s", indent, "", rname, indent + 2, ""); in print_reasons() 358 int indent); 425 BIO_printf(out, "%*sFull Name:\n", indent, ""); in print_distpoint() 431 BIO_printf(out, "%*sRelative Name:\n%*s", indent, "", indent + 2, ""); in print_distpoint() 439 int indent) in i2r_idp() argument 443 print_distpoint(out, idp->distpoint, indent); in i2r_idp() 449 BIO_printf(out, "%*sIndirect CRL\n", indent, ""); in i2r_idp() 457 BIO_printf(out, "%*s<EMPTY>\n", indent, ""); in i2r_idp() [all …]
|
H A D | v3_usernotice.c | 20 static int print_notice(BIO *out, USERNOTICE *notice, int indent) in ASN1_ITEM_TEMPLATE() 29 if (BIO_printf(out, "%*sOrganization: %.*s\n", indent, "", in ASN1_ITEM_TEMPLATE() 33 if (BIO_printf(out, "%*sNumber%s: ", indent, "", in ASN1_ITEM_TEMPLATE() 59 return BIO_printf(out, "%*sExplicit Text: %.*s", indent, "", in ASN1_ITEM_TEMPLATE() 66 BIO *out, int indent) in i2r_USER_NOTICE_SYNTAX() argument 71 if (BIO_printf(out, "%*sUser Notices:\n", indent, "") <= 0) in i2r_USER_NOTICE_SYNTAX() 76 if (!print_notice(out, unotice, indent + 4)) in i2r_USER_NOTICE_SYNTAX()
|
H A D | t_x509.c | 275 if (BIO_indent(bp, indent, indent) <= 0) in X509_signature_dump() 291 int indent = 4; in X509_signature_print() local 312 return X509_signature_dump(bp, sig, indent + 4); in X509_signature_print() 316 int X509_aux_print(BIO *out, X509 *x, int indent) in X509_aux_print() argument 329 BIO_printf(out, "%*sTrusted Uses:\n%*s", indent, "", indent + 2, ""); in X509_aux_print() 341 BIO_printf(out, "%*sNo Trusted Uses.\n", indent, ""); in X509_aux_print() 344 BIO_printf(out, "%*sRejected Uses:\n%*s", indent, "", indent + 2, ""); in X509_aux_print() 356 BIO_printf(out, "%*sNo Rejected Uses.\n", indent, ""); in X509_aux_print() 359 BIO_printf(out, "%*sAlias: %.*s\n", indent, "", i, alias); in X509_aux_print() 362 BIO_printf(out, "%*sKey Id: ", indent, ""); in X509_aux_print() [all …]
|
H A D | v3_cpols.c | 24 BIO *out, int indent); 28 int indent); 29 static void print_notice(BIO *out, USERNOTICE *notice, int indent); 415 BIO *out, int indent) in i2r_certpol() argument 424 BIO_printf(out, "%*sPolicy: ", indent, ""); in i2r_certpol() 435 int indent) in print_qualifiers() argument 445 BIO_printf(out, "%*sCPS: %.*s", indent, "", in print_qualifiers() 451 BIO_printf(out, "%*sUser Notice:\n", indent, ""); in print_qualifiers() 473 BIO_printf(out, "%*sNumber%s: ", indent, "", in print_notice() 504 BIO_printf(out, "%*sPolicy: ", indent, ""); in X509_POLICY_NODE_print() [all …]
|
H A D | v3_sda.c | 23 BIO *out, int indent) in ASN1_ITEM_TEMPLATE() 45 if (indent && BIO_printf(out, "%*s", indent, "") <= 0) in ASN1_ITEM_TEMPLATE() 60 if (ossl_print_attribute_value(out, attr_nid, av, indent + 4) <= 0) in ASN1_ITEM_TEMPLATE() 65 } else if (BIO_printf(out, "%*s<No Values>\n", indent + 4, "") <= 0) { in ASN1_ITEM_TEMPLATE()
|
/openssl/util/ |
H A D | su-filter.pl | 12 my $indent = 0; 50 $out .= "\n$indent};\n"; 56 $indent = $1; 180 my $indent = shift; 197 $out .= "\n".$indent.$item."\n".$indent; 199 $currline = $indent; 212 $currline = $indent; 219 $out .= $indent; 220 $currline = $indent; 231 $out .= $indent; [all …]
|
H A D | mkerr.pl | 306 my $indent = " "; 353 $indent = ' '; 359 $indent = " "; 391 $indent = substr $indent, 0, -1; 441 $indent = ' '; 448 $indent .= ' '; 492 $indent = substr $indent, 0, -1; 542 $indent = ''; 580 #${indent}endif 590 #${indent}endif [all …]
|
H A D | withlibctx.pl | 47 my $indent; 66 $indent = (length $preline) + (length '_ex('); 84 formatparams($indent, @params); 97 my $indent = shift; 102 my $lensofar += $indent + (length $param) + 1; 111 print "\n".(" " x $indent); 113 $lensofar = $indent + (length $param) + 1;
|
/openssl/crypto/ct/ |
H A D | ct_prn.c | 70 void SCT_print(const SCT *sct, BIO *out, int indent, in SCT_print() argument 81 BIO_printf(out, "\n%*sVersion : ", indent + 4, ""); in SCT_print() 84 BIO_printf(out, "unknown\n%*s", indent + 16, ""); in SCT_print() 92 BIO_printf(out, "\n%*sLog : %s", indent + 4, "", in SCT_print() 96 BIO_printf(out, "\n%*sLog ID : ", indent + 4, ""); in SCT_print() 99 BIO_printf(out, "\n%*sTimestamp : ", indent + 4, ""); in SCT_print() 102 BIO_printf(out, "\n%*sExtensions: ", indent + 4, ""); in SCT_print() 108 BIO_printf(out, "\n%*sSignature : ", indent + 4, ""); in SCT_print() 110 BIO_printf(out, "\n%*s ", indent + 4, ""); in SCT_print() 111 BIO_hex_string(out, indent + 16, 16, sct->sig, sct->sig_len); in SCT_print() [all …]
|
/openssl/crypto/asn1/ |
H A D | tasn_prn.c | 115 static int asn1_print_fsname(BIO *out, int indent, 146 parg.indent = indent; in asn1_item_print_ctx() 166 if (!asn1_template_print_ctx(out, fld, indent, in asn1_item_print_ctx() 243 if (BIO_printf(out, "%*s}\n", indent, "") < 0) in asn1_item_print_ctx() 329 static int asn1_print_fsname(BIO *out, int indent, in asn1_print_fsname() argument 336 while (indent > nspaces) { in asn1_print_fsname() 339 indent -= nspaces; in asn1_print_fsname() 341 if (BIO_write(out, spaces, indent) != indent) in asn1_print_fsname() 426 indent + 2) <= 0) in asn1_print_obstring() 445 return pf->prim_print(out, fld, it, indent, pctx); in asn1_primitive_print() [all …]
|
H A D | a_strex.c | 415 for (i = 0; i < indent; i++) in do_indent() 437 if (indent < 0) in do_name_ex() 438 indent = 0; in do_name_ex() 439 outlen = indent; in do_name_ex() 440 if (!do_indent(io_ch, arg, indent)) in do_name_ex() 455 indent = 0; in do_name_ex() 463 indent = 0; in do_name_ex() 471 indent = 0; in do_name_ex() 505 outlen += indent; in do_name_ex() 566 return X509_NAME_print(out, nm, indent); in X509_NAME_print_ex() [all …]
|
H A D | t_pkey.c | 21 int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent) in ASN1_buf_print() argument 29 if (!BIO_indent(bp, indent, ASN1_PRINT_MAX_INDENT)) in ASN1_buf_print() 46 unsigned char *ign, int indent) in ASN1_bn_print() argument 56 if (!BIO_indent(bp, indent, ASN1_PRINT_MAX_INDENT)) in ASN1_bn_print() 87 if (ASN1_buf_print(bp, tmp, n, indent + 4) == 0) in ASN1_bn_print()
|
H A D | asn1_parse.c | 21 int offset, int depth, int indent, int dump); 23 int tag, int xclass, int constructed, int indent) in asn1_print_info() argument 53 if (BIO_set_prefix(bp, str) <= 0 || BIO_set_indent(bp, indent) <= 0) in asn1_print_info() 83 int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent) in ASN1_parse() argument 85 return asn1_parse2(bp, &pp, len, 0, 0, indent, 0); in ASN1_parse() 88 int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, in ASN1_parse_dump() argument 91 return asn1_parse2(bp, &pp, len, 0, 0, indent, dump); in ASN1_parse_dump() 95 int offset, int depth, int indent, int dump) in asn1_parse2() argument 129 hl, len, tag, xclass, j, (indent) ? depth : 0)) in asn1_parse2() 145 indent, dump); in asn1_parse2() [all …]
|
/openssl/crypto/bio/ |
H A D | bio_dump.c | 29 void *u, const void *v, int len, int indent) in BIO_dump_indent_cb() argument 38 if (indent < 0) in BIO_dump_indent_cb() 39 indent = 0; in BIO_dump_indent_cb() 40 else if (indent > 64) in BIO_dump_indent_cb() 41 indent = 64; in BIO_dump_indent_cb() 43 dump_width = DUMP_WIDTH_LESS_INDENT(indent); in BIO_dump_indent_cb() 110 return BIO_dump_indent_cb(write_fp, fp, s, len, indent); in BIO_dump_indent_fp() 124 int BIO_dump_indent(BIO *bp, const void *s, int len, int indent) in BIO_dump_indent() argument 126 return BIO_dump_indent_cb(write_bio, bp, s, len, indent); in BIO_dump_indent() 140 BIO_printf(out, "%*s", indent, ""); in BIO_hex_string() [all …]
|
/openssl/util/perl/OpenSSL/ |
H A D | Util.pm | 270 my $indent = $opts{indent} // 1; 272 my $nlindent1 = defined $opts{indent} ? "\n" . ' ' x $indent : ' '; 274 my $nlindent2 = defined $opts{indent} ? "\n" . ' ' x ($indent + 4) : ' '; 278 $subopts{indent} = $opts{indent} + 4 if defined $opts{indent};
|
/openssl/apps/lib/ |
H A D | app_params.c | 75 int print_param_types(const char *thing, const OSSL_PARAM *pdefs, int indent) in print_param_types() argument 84 BIO_printf(bio_out, "%*sEmpty list of %s (!!!)\n", indent, "", thing); in print_param_types() 86 BIO_printf(bio_out, "%*s%s:\n", indent, "", thing); in print_param_types() 91 BIO_printf(bio_out, "%*s %s\n", indent, "", buf); in print_param_types() 97 void print_param_value(const OSSL_PARAM *p, int indent) in print_param_value() argument 102 printf("%*s%s: ", indent, "", p->key); in print_param_value()
|
/openssl/crypto/ocsp/ |
H A D | v3_ocsp.c | 24 BIO *out, int indent); 26 BIO *out, int indent); 28 int indent); 35 BIO *out, int indent); 38 void *nocheck, BIO *out, int indent); 216 BIO *out, int indent) in i2r_ocsp_nonce() argument 218 if (BIO_printf(out, "%*s", indent, "") <= 0) in i2r_ocsp_nonce() 228 BIO *out, int indent) in i2r_ocsp_nocheck() argument
|
/openssl/apps/ |
H A D | engine.c | 92 static int util_flags(BIO *out, unsigned int flags, const char *indent) in util_flags() argument 96 BIO_printf(out, "%s%s(input flags): ", indent, indent); in util_flags() 198 xpos = BIO_puts(out, indent); in util_verbose() 206 if ((xpos > (int)strlen(indent)) && in util_verbose() 209 xpos = BIO_puts(out, indent); in util_verbose() 217 if ((verbose >= 3) && !util_flags(out, flags, indent)) in util_verbose() 240 BIO *out, const char *indent) in util_do_cmds() argument 306 const char *indent = " "; in engine_main() local 391 util_do_cmds(e, pre_cmds, out, indent); in engine_main() 465 BIO_printf(out, "%s", indent); in engine_main() [all …]
|