Home
last modified time | relevance | path

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

/onnv-gate/usr/src/common/openssl/ssl/
H A Dssl_sess.c64 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s);
65 static void SSL_SESSION_list_add(SSL_CTX *ctx,SSL_SESSION *s);
66 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck);
68 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session()
74 SSL_SESSION *SSL_get1_session(SSL *ssl) in SSL_get1_session()
77 SSL_SESSION *sess; in SSL_get1_session()
96 int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, void *arg) in SSL_SESSION_set_ex_data()
101 void *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx) in SSL_SESSION_get_ex_data()
106 SSL_SESSION *SSL_SESSION_new(void) in SSL_SESSION_new()
108 SSL_SESSION *ss; in SSL_SESSION_new()
[all …]
H A Dssl.h475 } SSL_SESSION; typedef
653 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
654 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
655 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl,
933 SSL_SESSION *session;
1078 #define d2i_SSL_SESSION_bio(bp,s_id) ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp…
1079 #define i2d_SSL_SESSION_bio(bp,s_id) ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)
1080 #define PEM_read_SSL_SESSION(fp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read( \
1082 #define PEM_read_bio_SSL_SESSION(bp,x,cb,u) PEM_ASN1_read_bio_of(SSL_SESSION,d2i_SSL_SESSION,PEM_ST…
1087 …PEM_ASN1_write_bio_of(SSL_SESSION,i2d_SSL_SESSION,PEM_STRING_SSL_SESSION,bp,x,NULL,NULL,0,NULL,NUL…
[all …]
H A Dssl_txt.c64 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x) in SSL_SESSION_print_fp()
81 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print()
H A Dssl_asn1.c83 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp) in i2d_SSL_SESSION()
229 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, in d2i_SSL_SESSION()
236 M_ASN1_D2I_vars(a,SSL_SESSION *,SSL_SESSION_new); in d2i_SSL_SESSION()
H A Dssl_lib.c390 SSL_SESSION r, *p; in SSL_has_matching_session_id()
411 p = (SSL_SESSION *)lh_retrieve(ssl->ctx->sessions, &r); in SSL_has_matching_session_id()
1307 unsigned long SSL_SESSION_hash(const SSL_SESSION *a) in SSL_SESSION_hash()
1324 int SSL_SESSION_cmp(const SSL_SESSION *a,const SSL_SESSION *b) in SSL_SESSION_cmp()
1337 static IMPLEMENT_LHASH_HASH_FN(SSL_SESSION_hash, SSL_SESSION *) in IMPLEMENT_LHASH_HASH_FN() argument
1338 static IMPLEMENT_LHASH_COMP_FN(SSL_SESSION_cmp, SSL_SESSION *) in IMPLEMENT_LHASH_HASH_FN()
H A Dd1_pkt.c330 SSL_SESSION *sess; in dtls1_process_record()
488 SSL_SESSION *sess; in dtls1_get_record()
1264 SSL_SESSION *sess; in do_dtls1_write()
H A Ds3_pkt.c236 SSL_SESSION *sess; in ssl3_get_record()
578 SSL_SESSION *sess; in do_ssl3_write()
H A Dssl_ciph.c239 int ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc, in ssl_cipher_get_evp()
H A Dssl_locl.h730 int ssl_cipher_get_evp(const SSL_SESSION *s,const EVP_CIPHER **enc,
H A Ds2_clnt.c616 SSL_SESSION *sess; in client_master_key()
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_SESSION_free.pod5 SSL_SESSION_free - free an allocated SSL_SESSION structure
11 void SSL_SESSION_free(SSL_SESSION *session);
16 the B<SSL_SESSION> structure pointed to by B<session> and frees up the allocated
21 SSL_SESSION objects are allocated, when a TLS/SSL handshake operation
24 the SSL_SESSION objects are internally referenced by the SSL_CTX and
25 linked into its session cache. SSL objects may be using the SSL_SESSION object;
26 as a session may be reused, several SSL objects may be using one SSL_SESSION
28 count (usage information) correct and not delete a SSL_SESSION object
31 when an SSL_SESSION object was completely freed as the reference count
36 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, long length);
12 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
18 an SSL_SESSION object.
20 i2d_SSL_SESSION() transforms the SSL_SESSION object B<in> into the ASN1
27 The SSL_SESSION object is built from several malloc()ed parts, it can
32 When using d2i_SSL_SESSION(), the SSL_SESSION object is automatically
35 unless the SSL_SESSION object is completely taken over, when being called
39 SSL_SESSION objects keep internal link information about the session cache
41 One SSL_SESSION object, regardless of its reference count, must therefore
[all …]
H A DSSL_SESSION_get_time.pod11 long SSL_SESSION_get_time(const SSL_SESSION *s);
12 long SSL_SESSION_set_time(SSL_SESSION *s, long tm);
13 long SSL_SESSION_get_timeout(const SSL_SESSION *s);
14 long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
16 long SSL_get_time(const SSL_SESSION *s);
17 long SSL_set_time(SSL_SESSION *s, long tm);
18 long SSL_get_timeout(const SSL_SESSION *s);
19 long SSL_set_timeout(SSL_SESSION *s, long tm);
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.
45 SSL_SESSION objects keep internal link information about the session cache
47 One SSL_SESSION object, regardless of its reference count, must therefore
H A DSSL_CTX_sess_set_get_cb.pod12 int (*new_session_cb)(SSL *, SSL_SESSION *));
14 void (*remove_session_cb)(SSL_CTX *ctx, SSL_SESSION *));
16 SSL_SESSION (*get_session_cb)(SSL *, unsigned char *, int, int *));
18 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
19 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
20SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *data, int…
22 int (*new_session_cb)(struct ssl_st *ssl, SSL_SESSION *sess);
23 void (*remove_session_cb)(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
24 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,
74 SSL engine to increment the reference count of the SSL_SESSION object,
H A DSSL_CTX_add_session.pod11 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c);
12 int SSL_add_session(SSL_CTX *ctx, SSL_SESSION *c);
14 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c);
15 int SSL_remove_session(SSL_CTX *ctx, SSL_SESSION *c);
35 stored in a different SSL_SESSION object, The old session is
37 identical (the SSL_SESSION object is identical), SSL_CTX_add_session()
H A Dssl.pod56 B<SSL_SESSION>.
64 =item B<SSL_SESSION> (SSL Session)
214 =item int B<SSL_CTX_add_session>(SSL_CTX *ctx, SSL_SESSION *c);
254 =item int B<SSL_CTX_remove_session>(SSL_CTX *ctx, SSL_SESSION *c);
274 =item SSL_SESSION *(*B<SSL_CTX_sess_get_get_cb>(SSL_CTX *ctx))(SSL *ssl, unsigned char *data, int l…
276 =item int (*B<SSL_CTX_sess_get_new_cb>(SSL_CTX *ctx)(SSL *ssl, SSL_SESSION *sess);
278 =item void (*B<SSL_CTX_sess_get_remove_cb>(SSL_CTX *ctx)(SSL_CTX *ctx, SSL_SESSION *sess);
288 =item void B<SSL_CTX_sess_set_get_cb>(SSL_CTX *ctx, SSL_SESSION *(*cb)(SSL *ssl, unsigned char *dat…
290 =item void B<SSL_CTX_sess_set_new_cb>(SSL_CTX *ctx, int (*cb)(SSL *ssl, SSL_SESSION *sess));
292 =item void B<SSL_CTX_sess_set_remove_cb>(SSL_CTX *ctx, void (*cb)(SSL_CTX *ctx, SSL_SESSION *sess));
[all …]
H A DSSL_set_session.pod11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
28 SSL_SESSION objects keep internal link information about the session cache
30 One SSL_SESSION object, regardless of its reference count, must therefore
H A DSSL_SESSION_get_ex_new_index.pod16 int SSL_SESSION_set_ex_data(SSL_SESSION *session, int idx, void *arg);
18 void *SSL_SESSION_get_ex_data(const SSL_SESSION *session, int idx);
H A DSSL_get_default_timeout.pod16 SSL_SESSION objects negotiated for the protocol valid for B<ssl>.
H A DSSL_free.pod23 cipher lists specially created for this B<ssl>, the B<SSL_SESSION>.
/onnv-gate/usr/src/common/openssl/apps/
H A Dsess_id.c86 static SSL_SESSION *load_sess_id(char *file, int format);
92 SSL_SESSION *x=NULL; in MAIN()
181 SSL_SESSION *s; in MAIN()
279 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id()
281 SSL_SESSION *x=NULL; in load_sess_id()
/onnv-gate/usr/src/common/openssl/crypto/pem/
H A Dpem.h434 #define PEM_read_SSL_SESSION(fp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read( \
/onnv-gate/usr/src/lib/libkmsagent/common/SOAP/
H A Dstdsoap2.h1881 SSL_SESSION *session;
/onnv-gate/usr/src/common/openssl/
H A DCHANGES3972 *) Store verify_result within SSL_SESSION also for client side to
5081 made it impossible to use the same SSL_SESSION data structure in
5290 SSL_SESSION structures with the same session ID (e.g. when two threads
5292 The internal cache can handle only one SSL_SESSION with a given ID,
5559 *) For servers, store verify_result in SSL_SESSION data structure
5587 the reference count in the SSL_SESSION returned.
6423 In order to clean up things more thoroughly, inside SSL_SESSION