Lines Matching refs:bp

34 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)  in SSL_SESSION_print()  argument
43 if (BIO_puts(bp, "SSL-Session:\n") <= 0) in SSL_SESSION_print()
46 if (BIO_printf(bp, " Protocol : %s\n", s) <= 0) in SSL_SESSION_print()
51 if (BIO_printf(bp, " Cipher : %06lX\n", in SSL_SESSION_print()
55 if (BIO_printf(bp, " Cipher : %04lX\n", in SSL_SESSION_print()
60 if (BIO_printf(bp, " Cipher : %s\n", in SSL_SESSION_print()
65 if (BIO_puts(bp, " Session-ID: ") <= 0) in SSL_SESSION_print()
68 if (BIO_printf(bp, "%02X", x->session_id[i]) <= 0) in SSL_SESSION_print()
71 if (BIO_puts(bp, "\n Session-ID-ctx: ") <= 0) in SSL_SESSION_print()
74 if (BIO_printf(bp, "%02X", x->sid_ctx[i]) <= 0) in SSL_SESSION_print()
78 if (BIO_puts(bp, "\n Resumption PSK: ") <= 0) in SSL_SESSION_print()
80 } else if (BIO_puts(bp, "\n Master-Key: ") <= 0) in SSL_SESSION_print()
83 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0) in SSL_SESSION_print()
87 if (BIO_puts(bp, "\n PSK identity: ") <= 0) in SSL_SESSION_print()
89 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) in SSL_SESSION_print()
91 if (BIO_puts(bp, "\n PSK identity hint: ") <= 0) in SSL_SESSION_print()
94 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) in SSL_SESSION_print()
98 if (BIO_puts(bp, "\n SRP username: ") <= 0) in SSL_SESSION_print()
100 if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") <= 0) in SSL_SESSION_print()
104 if (BIO_printf(bp, in SSL_SESSION_print()
110 if (BIO_puts(bp, "\n TLS session ticket:\n") <= 0) in SSL_SESSION_print()
113 (bp, (const char *)x->ext.tick, (int)x->ext.ticklen, 4) in SSL_SESSION_print()
124 if (BIO_printf(bp, "\n Compression: %d", x->compress_meth) <= 0) in SSL_SESSION_print()
127 if (BIO_printf(bp, "\n Compression: %d (%s)", comp->id, in SSL_SESSION_print()
134 if (BIO_printf(bp, "\n Start Time: %lld", in SSL_SESSION_print()
139 if (BIO_printf(bp, "\n Timeout : %lld (sec)", in SSL_SESSION_print()
143 if (BIO_puts(bp, "\n") <= 0) in SSL_SESSION_print()
146 if (BIO_puts(bp, " Verify return code: ") <= 0) in SSL_SESSION_print()
148 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
152 if (BIO_printf(bp, " Extended master secret: %s\n", in SSL_SESSION_print()
157 if (BIO_printf(bp, " Max Early Data: %u\n", in SSL_SESSION_print()
171 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print_keylog() argument
185 if (BIO_puts(bp, "RSA ") <= 0) in SSL_SESSION_print_keylog()
188 if (BIO_puts(bp, "Session-ID:") <= 0) in SSL_SESSION_print_keylog()
191 if (BIO_printf(bp, "%02X", x->session_id[i]) <= 0) in SSL_SESSION_print_keylog()
194 if (BIO_puts(bp, " Master-Key:") <= 0) in SSL_SESSION_print_keylog()
197 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0) in SSL_SESSION_print_keylog()
200 if (BIO_puts(bp, "\n") <= 0) in SSL_SESSION_print_keylog()