Lines Matching defs:out

262 static int do_print_sigalgs(BIO *out, SSL *s, int shared)
275 BIO_puts(out, "Shared ");
278 BIO_puts(out, "Requested ");
279 BIO_puts(out, "Signature Algorithms: ");
290 BIO_puts(out, ":");
293 BIO_printf(out, "%s", sstr);
295 BIO_printf(out, "0x%02X", (int)rsign);
297 BIO_printf(out, "+%s", OBJ_nid2sn(hash_nid));
299 BIO_printf(out, "+0x%02X", (int)rhash);
301 BIO_puts(out, "\n");
305 int ssl_print_sigalgs(BIO *out, SSL *s)
310 ssl_print_client_cert_types(out, s);
311 do_print_sigalgs(out, s, 0);
312 do_print_sigalgs(out, s, 1);
314 BIO_printf(out, "Peer signing digest: %s\n", OBJ_nid2sn(nid));
316 BIO_printf(out, "Peer signature type: %s\n", get_sigtype(nid));
321 int ssl_print_point_formats(BIO *out, SSL *s)
329 BIO_puts(out, "Supported Elliptic Curve Point Formats: ");
332 BIO_puts(out, ":");
335 BIO_puts(out, "uncompressed");
339 BIO_puts(out, "ansiX962_compressed_prime");
343 BIO_puts(out, "ansiX962_compressed_char2");
347 BIO_printf(out, "unknown(%d)", (int)*pformats);
352 BIO_puts(out, "\n");
356 int ssl_print_groups(BIO *out, SSL *s, int noshared)
366 BIO_puts(out, "Supported groups: ");
369 BIO_puts(out, ":");
371 BIO_printf(out, "%s", SSL_group_to_name(s, nid));
375 BIO_puts(out, "\n");
378 BIO_puts(out, "\nShared groups: ");
382 BIO_puts(out, ":");
384 BIO_printf(out, "%s", SSL_group_to_name(s, nid));
387 BIO_puts(out, "NONE");
388 BIO_puts(out, "\n");
393 int ssl_print_tmp_key(BIO *out, SSL *s)
399 BIO_puts(out, "Server Temp Key: ");
402 BIO_printf(out, "RSA, %d bits\n", EVP_PKEY_get_bits(key));
406 BIO_printf(out, "DH, %d bits\n", EVP_PKEY_get_bits(key));
417 BIO_printf(out, "ECDH, %s, %d bits\n", name, EVP_PKEY_get_bits(key));
422 BIO_printf(out, "%s, %d bits\n", OBJ_nid2sn(EVP_PKEY_get_id(key)),
432 BIO *out;
434 out = (BIO *)BIO_get_callback_arg(bio);
435 if (out == NULL)
440 BIO_printf(out, "read from %p [%p] (%zu bytes => %zu (0x%zX))\n",
442 BIO_dump(out, argp, (int)*processed);
444 BIO_printf(out, "read from %p [%p] (%zu bytes => %d)\n",
449 BIO_printf(out, "write to %p [%p] (%zu bytes => %zu (0x%zX))\n",
451 BIO_dump(out, argp, (int)*processed);
453 BIO_printf(out, "write to %p [%p] (%zu bytes => %d)\n",
1145 char *out;
1155 cp = out = app_malloc(ilen, "TLSA hex data buffer");
1162 return out;
1344 /* Verbose print out of security callback */
1347 BIO *out;
1390 BIO_puts(sdb->out, "Security callback: ");
1401 BIO_printf(sdb->out, "Version=%s", lookup(nid, ssl_versions, "???"));
1417 BIO_printf(sdb->out, "%s=", nm);
1422 BIO_puts(sdb->out, SSL_CIPHER_get_name(other));
1432 BIO_puts(sdb->out, cname);
1441 BIO_puts(sdb->out, OBJ_nid2sn(sig_nid));
1446 BIO_printf(sdb->out, "Public key missing");
1452 BIO_printf(sdb->out, "%s, bits=%d",
1466 BIO_printf(sdb->out, "%s", nm);
1468 BIO_printf(sdb->out, "s_cb.c:security_callback_debug op=0x%x", op);
1472 BIO_printf(sdb->out, " scheme=%s", sname);
1480 BIO_printf(sdb->out, " digest=%s, algorithm=%s", hash_str, alg_str);
1482 BIO_printf(sdb->out, " scheme=unknown(0x%04x)", raw_sig_code);
1489 BIO_printf(sdb->out, ", security bits=%d", bits);
1490 BIO_printf(sdb->out, ": %s\n", rv ? "yes" : "no");
1498 sdb.out = bio_err;