• Home
  • Raw
  • Download

Lines Matching refs:bp

32 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)  in SSL_SESSION_print()  argument
41 if (BIO_puts(bp, "SSL-Session:\n") <= 0) in SSL_SESSION_print()
44 if (BIO_printf(bp, " Protocol : %s\n", s) <= 0) in SSL_SESSION_print()
49 if (BIO_printf(bp, " Cipher : %06lX\n", in SSL_SESSION_print()
53 if (BIO_printf(bp, " Cipher : %04lX\n", in SSL_SESSION_print()
58 if (BIO_printf(bp, " Cipher : %s\n", in SSL_SESSION_print()
63 if (BIO_puts(bp, " Session-ID: ") <= 0) in SSL_SESSION_print()
66 if (BIO_printf(bp, "%02X", x->session_id[i]) <= 0) in SSL_SESSION_print()
69 if (BIO_puts(bp, "\n Session-ID-ctx: ") <= 0) in SSL_SESSION_print()
72 if (BIO_printf(bp, "%02X", x->sid_ctx[i]) <= 0) in SSL_SESSION_print()
76 if (BIO_puts(bp, "\n Resumption PSK: ") <= 0) in SSL_SESSION_print()
78 } else if (BIO_puts(bp, "\n Master-Key: ") <= 0) in SSL_SESSION_print()
81 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0) in SSL_SESSION_print()
85 if (BIO_puts(bp, "\n PSK identity: ") <= 0) in SSL_SESSION_print()
87 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) in SSL_SESSION_print()
89 if (BIO_puts(bp, "\n PSK identity hint: ") <= 0) in SSL_SESSION_print()
92 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) in SSL_SESSION_print()
96 if (BIO_puts(bp, "\n SRP username: ") <= 0) in SSL_SESSION_print()
98 if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") <= 0) in SSL_SESSION_print()
102 if (BIO_printf(bp, in SSL_SESSION_print()
108 if (BIO_puts(bp, "\n TLS session ticket:\n") <= 0) in SSL_SESSION_print()
111 (bp, (const char *)x->ext.tick, (int)x->ext.ticklen, 4) in SSL_SESSION_print()
122 if (BIO_printf(bp, "\n Compression: %d", x->compress_meth) <= 0) in SSL_SESSION_print()
125 if (BIO_printf(bp, "\n Compression: %d (%s)", comp->id, in SSL_SESSION_print()
132 if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time) <= 0) in SSL_SESSION_print()
136 if (BIO_printf(bp, "\n Timeout : %lld (sec)", (long long)x->timeout) <= 0) in SSL_SESSION_print()
139 if (BIO_puts(bp, "\n") <= 0) in SSL_SESSION_print()
142 if (BIO_puts(bp, " Verify return code: ") <= 0) in SSL_SESSION_print()
144 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
148 if (BIO_printf(bp, " Extended master secret: %s\n", in SSL_SESSION_print()
153 if (BIO_printf(bp, " Max Early Data: %u\n", in SSL_SESSION_print()
167 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print_keylog() argument
181 if (BIO_puts(bp, "RSA ") <= 0) in SSL_SESSION_print_keylog()
184 if (BIO_puts(bp, "Session-ID:") <= 0) in SSL_SESSION_print_keylog()
187 if (BIO_printf(bp, "%02X", x->session_id[i]) <= 0) in SSL_SESSION_print_keylog()
190 if (BIO_puts(bp, " Master-Key:") <= 0) in SSL_SESSION_print_keylog()
193 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0) in SSL_SESSION_print_keylog()
196 if (BIO_puts(bp, "\n") <= 0) in SSL_SESSION_print_keylog()