Home
last modified time | relevance | path

Searched refs:SSL_SESSION (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-13.1/crypto/openssl/ssl/
H A Dssl_sess.c41 SSL_SESSION *sess; in SSL_get1_session()
67 SSL_SESSION *ss; in SSL_SESSION_new()
97 SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src) in SSL_SESSION_dup()
106 SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket) in ssl_session_dup()
108 SSL_SESSION *dest; in ssl_session_dup()
366 SSL_SESSION *ss = NULL; in ssl_get_new_session()
422 SSL_SESSION *ret = NULL; in lookup_sess_in_cache()
426 SSL_SESSION data; in lookup_sess_in_cache()
640 SSL_SESSION *s; in SSL_CTX_add_session()
721 SSL_SESSION *r; in remove_session_lock()
[all …]
H A Dssl_txt.c16 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()
168 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print_keylog()
H A Dssl_asn1.c104 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp) in i2d_SSL_SESSION()
239 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, in d2i_SSL_SESSION()
246 SSL_SESSION *ret = NULL; in d2i_SSL_SESSION()
H A Dssl_local.h725 DEFINE_LHASH_OF(SSL_SESSION);
745 LHASH_OF(SSL_SESSION) *sessions;
774 int (*new_session_cb) (struct ssl_st *ssl, SSL_SESSION *sess);
775 void (*remove_session_cb) (struct ssl_ctx_st *ctx, SSL_SESSION *sess);
776 SSL_SESSION *(*get_session_cb) (struct ssl_st *ssl,
1190 SSL_SESSION *session;
1192 SSL_SESSION *psksession;
1723 SSL_SESSION *session;
2261 __owur int ssl_generate_session_id(SSL *s, SSL_SESSION *ss);
2266 __owur SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket);
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_SESSION_free.pod8 SSL_SESSION_free - create, free and manage SSL_SESSION structures
14 SSL_SESSION *SSL_SESSION_new(void);
15 SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src);
16 int SSL_SESSION_up_ref(SSL_SESSION *ses);
17 void SSL_SESSION_free(SSL_SESSION *session);
37 SSL_SESSION objects are allocated, when a TLS/SSL handshake operation
40 the SSL_SESSION objects are internally referenced by the SSL_CTX and
44 count (usage information) correct and not delete a SSL_SESSION object
47 when an SSL_SESSION object was completely freed as the reference count
52 SSL_SESSION_free() must only be called for SSL_SESSION objects, for
[all …]
H A Dd2i_SSL_SESSION.pod5 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 DSSL_get_session.pod11 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.
37 SSL_SESSION object can be used for resumption or not.
50 SSL_SESSION object that cannot be used for resumption in TLSv1.3. It also
59 In TLSv1.3 it is recommended that each SSL_SESSION object is only used for
78 One SSL_SESSION object, regardless of its reference count, must therefore
[all …]
H A DSSL_SESSION_get_time.pod14 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 DSSL_SESSION_get_ex_data.pod13 int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data);
14 void *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx);
19 specific data B<data> in an SSL_SESSION structure B<ss>. The index B<idx> should
23 in an SSL_SESSION structure B<s>. The B<idx> value should be the same as that
H A DSSL_SESSION_get0_cipher.pod13 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 DSSL_CTX_sess_set_get_cb.pod12 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 DSSL_SESSION_is_resumable.pod6 - 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 DSSL_SESSION_print.pod14 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 DSSL_SESSION_get0_hostname.pod15 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 DSSL_CTX_add_session.pod11 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 DSSL_SESSION_get_protocol_version.pod13 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 DSSL_SESSION_has_ticket.pod13 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 DSSL_set_session.pod11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
32 SSL_SESSION objects keep internal link information about the session cache
34 One SSL_SESSION object, regardless of its reference count, must therefore
H A DSSL_get_client_random.pod17 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 DSSL_SESSION_set1_id.pod13 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 DSSL_SESSION_get0_id_context.pod13 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 DSSL_CTX_set_session_ticket_cb.pod16 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-13.1/crypto/openssl/include/openssl/
H A Dssl.h213 typedef struct ssl_session_st SSL_SESSION; typedef
685 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1129 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1645 __owur X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
1646 __owur int SSL_SESSION_set1_id_context(SSL_SESSION *s,
1653 __owur SSL_SESSION *SSL_SESSION_new(void);
1654 __owur SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src);
1665 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1666 void SSL_SESSION_free(SSL_SESSION *ses);
1676 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
[all …]
/freebsd-13.1/crypto/openssl/apps/
H A Dsess_id.c41 static SSL_SESSION *load_sess_id(char *file, int format);
45 SSL_SESSION *x = NULL; in sess_id_main()
170 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id()
172 SSL_SESSION *x = NULL; in load_sess_id()
/freebsd-13.1/crypto/openssl/doc/man7/
H A Dssl.pod54 B<SSL_SESSION>.
62 =item B<SSL_SESSION> (SSL Session)
420 sessions defined in the B<SSL_SESSION> structures.
424 =item int B<SSL_SESSION_cmp>(const SSL_SESSION *a, const SSL_SESSION *b);
426 =item void B<SSL_SESSION_free>(SSL_SESSION *ss);
428 =item char *B<SSL_SESSION_get_app_data>(SSL_SESSION *s);
434 =item long B<SSL_SESSION_get_time>(const SSL_SESSION *s);
436 =item long B<SSL_SESSION_get_timeout>(const SSL_SESSION *s);
440 =item SSL_SESSION *B<SSL_SESSION_new>(void);
450 =item long B<SSL_SESSION_set_time>(SSL_SESSION *s, long t);
[all …]

123