/freebsd/crypto/openssl/ssl/ |
H A D | ssl_sess.c | 23 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); 24 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *s); 25 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck); 27 DEFINE_STACK_OF(SSL_SESSION) in DEFINE_STACK_OF() argument 29 __owur static int sess_timedout(time_t t, SSL_SESSION *ss) in DEFINE_STACK_OF() 41 __owur static int timeoutcmp(SSL_SESSION *a, SSL_SESSION *b) in timeoutcmp() 78 void ssl_session_calculate_timeout(SSL_SESSION *ss) in ssl_session_calculate_timeout() 103 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session() 109 SSL_SESSION *SSL_get1_session(SSL *ssl) in SSL_get1_session() 112 SSL_SESSION *sess; in SSL_get1_session() [all …]
|
H A D | ssl_txt.c | 16 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x) in SSL_SESSION_print_fp() 32 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print() 167 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print_keylog()
|
H A D | ssl_local.h | 775 DEFINE_LHASH_OF(SSL_SESSION); 851 LHASH_OF(SSL_SESSION) *sessions; 880 int (*new_session_cb) (struct ssl_st *ssl, SSL_SESSION *sess); 881 void (*remove_session_cb) (struct ssl_ctx_st *ctx, SSL_SESSION *sess); 882 SSL_SESSION *(*get_session_cb) (struct ssl_st *ssl, 1504 SSL_SESSION *session; 1506 SSL_SESSION *psksession; 1857 SSL_SESSION *session; 2386 __owur int ssl_generate_session_id(SSL *s, SSL_SESSION *ss); 2388 __owur SSL_SESSION *lookup_sess_in_cache(SSL *s, const unsigned char *sess_id, [all …]
|
H A D | ssl_asn1.c | 106 int i2d_SSL_SESSION(const SSL_SESSION *in, unsigned char **pp) in i2d_SSL_SESSION() 243 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, in d2i_SSL_SESSION() 250 SSL_SESSION *ret = NULL; in d2i_SSL_SESSION()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_SESSION_free.pod | 8 SSL_SESSION_free - create, free and manage SSL_SESSION structures 14 SSL_SESSION *SSL_SESSION_new(void); 15 SSL_SESSION *SSL_SESSION_dup(const SSL_SESSION *src); 16 int SSL_SESSION_up_ref(SSL_SESSION *ses); 17 void SSL_SESSION_free(SSL_SESSION *session); 21 SSL_SESSION_new() creates a new SSL_SESSION structure and returns a pointer to 24 SSL_SESSION_dup() creates a new SSL_SESSION structure that is a copy of B<src>. 27 SSL_SESSION_up_ref() increments the reference count on the given SSL_SESSION 31 the B<SSL_SESSION> structure pointed to by B<session> and frees up the allocated 37 SSL_SESSION objects are allocated, when a TLS/SSL handshake operation [all …]
|
H A D | d2i_SSL_SESSION.pod | 5 d2i_SSL_SESSION, i2d_SSL_SESSION - convert SSL_SESSION object from/to ASN1 representation 11 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, 13 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); 17 These functions decode and encode an SSL_SESSION object. 20 SSL_SESSION objects keep internal link information about the session cache 22 One SSL_SESSION object, regardless of its reference count, must therefore 28 d2i_SSL_SESSION() returns a pointer to the newly allocated SSL_SESSION
|
H A D | SSL_get_session.pod | 11 SSL_SESSION *SSL_get_session(const SSL *ssl); 12 SSL_SESSION *SSL_get0_session(const SSL *ssl); 13 SSL_SESSION *SSL_get1_session(SSL *ssl); 17 SSL_get_session() returns a pointer to the B<SSL_SESSION> actually used in 18 B<ssl>. The reference count of the B<SSL_SESSION> is not incremented, so 24 count of the B<SSL_SESSION> is incremented by one. 35 SSL_SESSION object but that object cannot be used for resuming the session. See 37 SSL_SESSION object can be used for resumption or not. 46 The preferred way for applications to obtain a resumable SSL_SESSION object is 50 SSL_SESSION object that cannot be used for resumption in TLSv1.3. It also [all …]
|
H A D | SSL_SESSION_get_time.pod | 14 long SSL_SESSION_get_time(const SSL_SESSION *s); 15 long SSL_SESSION_set_time(SSL_SESSION *s, long tm); 16 long SSL_SESSION_get_timeout(const SSL_SESSION *s); 17 long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm); 19 long SSL_get_time(const SSL_SESSION *s); 20 long SSL_set_time(SSL_SESSION *s, long tm); 21 long SSL_get_timeout(const SSL_SESSION *s); 22 long SSL_set_timeout(SSL_SESSION *s, long tm);
|
H A D | SSL_SESSION_get0_cipher.pod | 13 const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s); 14 int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher); 25 SSL_SESSION B<s> to B<cipher>. For example, this could be used to set up a 30 SSL_SESSION_get0_cipher() returns the SSL_CIPHER associated with the SSL_SESSION
|
H A D | SSL_CTX_sess_set_get_cb.pod | 12 int (*new_session_cb)(SSL *, SSL_SESSION *)); 15 SSL_SESSION *)); 17 SSL_SESSION (*get_session_cb)(SSL *, 22 SSL_SESSION *sess); 24 SSL_SESSION *sess); 25 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, 78 In TLSv1.3 it is recommended that each SSL_SESSION object is only used for 95 SSL engine to increment the reference count of the SSL_SESSION object;
|
H A D | SSL_SESSION_is_resumable.pod | 6 - determine whether an SSL_SESSION object can be used for resumption 12 int SSL_SESSION_is_resumable(const SSL_SESSION *s); 16 SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
|
H A D | SSL_SESSION_print.pod | 14 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); 15 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); 16 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
|
H A D | SSL_SESSION_get0_hostname.pod | 15 const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s); 16 int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname); 18 void SSL_SESSION_get0_alpn_selected(const SSL_SESSION *s, 21 int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s, const unsigned char *alpn,
|
H A D | SSL_CTX_add_session.pod | 11 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c); 13 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c); 30 stored in a different SSL_SESSION object, The old session is 32 identical (the SSL_SESSION object is identical), SSL_CTX_add_session()
|
H A D | SSL_SESSION_get_protocol_version.pod | 13 int SSL_SESSION_get_protocol_version(const SSL_SESSION *s); 14 int SSL_SESSION_set_protocol_version(SSL_SESSION *s, int version); 22 SSL_SESSION object B<s> to the value B<version>. This value should be a version
|
H A D | SSL_SESSION_has_ticket.pod | 13 int SSL_SESSION_has_ticket(const SSL_SESSION *s); 14 unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s); 15 void SSL_SESSION_get0_ticket(const SSL_SESSION *s, const unsigned char **tick,
|
H A D | SSL_set_session.pod | 11 int SSL_set_session(SSL *ssl, SSL_SESSION *session); 33 SSL_SESSION objects keep internal link information about the session cache 35 One SSL_SESSION object, regardless of its reference count, must therefore
|
H A D | SSL_CTX_sessions.pod | 11 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx); 30 SSL_CTX_sessions() returns a pointer to the lhash of B<SSL_SESSION>.
|
H A D | SSL_get_client_random.pod | 17 size_t SSL_SESSION_get_master_key(const SSL_SESSION *session, 19 int SSL_SESSION_set1_master_key(SSL_SESSION *sess, const unsigned char *in, 40 SSL_SESSION B<sess>. For example, this could be used to set up a session based 45 suitable for the ciphersuite associated with the SSL_SESSION.
|
H A D | SSL_SESSION_set1_id.pod | 13 const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, 15 int SSL_SESSION_set1_id(SSL_SESSION *s, const unsigned char *sid,
|
H A D | SSL_SESSION_get0_id_context.pod | 13 const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s, 15 int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned char *sid_ctx,
|
H A D | SSL_CTX_set_session_ticket_cb.pod | 16 typedef SSL_TICKET_RETURN (*SSL_CTX_decrypt_session_ticket_fn)(SSL *s, SSL_SESSION *ss, 25 int SSL_SESSION_set1_ticket_appdata(SSL_SESSION *ss, const void *data, size_t len); 26 int SSL_SESSION_get0_ticket_appdata(SSL_SESSION *ss, void **data, size_t *len); 68 When the B<dec_cb> callback is invoked, the SSL_SESSION B<ss> has not yet been 154 used to retrieve the SSL_SESSION for SSL_SESSION_set1_ticket_appdata().
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ssl.h | 231 typedef struct ssl_session_st SSL_SESSION; typedef 698 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx); 726 SSL_SESSION *sess)); 728 SSL_SESSION *sess); 732 SSL_SESSION *sess)); 734 SSL_SESSION *sess); 736 SSL_SESSION *(*get_session_cb) (struct ssl_st 741 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl, 863 SSL_SESSION **sess); 867 SSL_SESSION **sess); [all …]
|
H A D | ssl.h.in | 232 typedef struct ssl_session_st SSL_SESSION; typedef 675 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx); 703 SSL_SESSION *sess)); 705 SSL_SESSION *sess); 709 SSL_SESSION *sess)); 711 SSL_SESSION *sess); 713 SSL_SESSION *(*get_session_cb) (struct ssl_st 718 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl, 840 SSL_SESSION **sess); 844 SSL_SESSION **sess); [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | sess_id.c | 46 static SSL_SESSION *load_sess_id(char *file, int format); 50 SSL_SESSION *x = NULL; in sess_id_main() 177 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() 179 SSL_SESSION *x = NULL; in load_sess_id()
|