| /mirbsd/src/lib/libssl/src/ssl/ |
| D | ssl_sess.c | 66 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); 67 static void SSL_SESSION_list_add(SSL_CTX *ctx,SSL_SESSION *s); 68 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck); 70 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session() 76 SSL_SESSION *SSL_get1_session(SSL *ssl) in SSL_get1_session() 79 SSL_SESSION *sess; in SSL_get1_session() 98 int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, void *arg) in SSL_SESSION_set_ex_data() 103 void *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx) in SSL_SESSION_get_ex_data() 108 SSL_SESSION *SSL_SESSION_new(void) in SSL_SESSION_new() 110 SSL_SESSION *ss; in SSL_SESSION_new() [all …]
|
| D | ssl.h | 464 } SSL_SESSION; typedef 633 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); 634 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); 635 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, 895 SSL_SESSION *session; 1040 #define d2i_SSL_SESSION_bio(bp,s_id) (SSL_SESSION *)ASN1_d2i_bio( \ 1045 #define PEM_read_SSL_SESSION(fp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read( \ 1047 #define PEM_read_bio_SSL_SESSION(bp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read_bio( \ 1251 long SSL_SESSION_get_time(const SSL_SESSION *s); 1252 long SSL_SESSION_set_time(SSL_SESSION *s, long t); [all …]
|
| D | ssl_txt.c | 64 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()
|
| D | ssl_asn1.c | 83 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 * const *pp, in d2i_SSL_SESSION() 236 M_ASN1_D2I_vars(a,SSL_SESSION *,SSL_SESSION_new); in d2i_SSL_SESSION()
|
| D | ssl_lib.c | 368 SSL_SESSION r, *p; in SSL_has_matching_session_id() 389 p = (SSL_SESSION *)lh_retrieve(ssl->ctx->sessions, &r); in SSL_has_matching_session_id() 1272 unsigned long SSL_SESSION_hash(const SSL_SESSION *a) in SSL_SESSION_hash() 1289 int SSL_SESSION_cmp(const SSL_SESSION *a,const SSL_SESSION *b) in SSL_SESSION_cmp() 1302 static IMPLEMENT_LHASH_HASH_FN(SSL_SESSION_hash, SSL_SESSION *) in IMPLEMENT_LHASH_HASH_FN() argument 1303 static IMPLEMENT_LHASH_COMP_FN(SSL_SESSION_cmp, SSL_SESSION *) in IMPLEMENT_LHASH_HASH_FN()
|
| /mirbsd/src/lib/libssl/src/doc/ssl/ |
| D | SSL_SESSION_free.pod | 5 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 …]
|
| 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, 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 …]
|
| D | SSL_SESSION_get_time.pod | 11 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);
|
| 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. 45 SSL_SESSION objects keep internal link information about the session cache 47 One SSL_SESSION object, regardless of its reference count, must therefore
|
| D | SSL_CTX_sess_set_get_cb.pod | 12 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); 20 …SSL_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,
|
| D | SSL_CTX_add_session.pod | 11 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()
|
| D | ssl.pod | 56 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 …]
|
| D | SSL_set_session.pod | 11 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
|
| D | SSL_SESSION_get_ex_new_index.pod | 16 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);
|
| D | SSL_get_default_timeout.pod | 16 SSL_SESSION objects negotiated for the protocol valid for B<ssl>.
|
| D | SSL_free.pod | 23 cipher lists specially created for this B<ssl>, the B<SSL_SESSION>.
|
| /mirbsd/src/usr.sbin/httpd/src/modules/ssl/ |
| D | mod_ssl.h | 656 int ssl_callback_NewSessionCacheEntry(SSL *, SSL_SESSION *); 657 SSL_SESSION *ssl_callback_GetSessionCacheEntry(SSL *, unsigned char *, int, int *); 658 void ssl_callback_DelSessionCacheEntry(SSL_CTX *, SSL_SESSION *); 664 BOOL ssl_scache_store(server_rec *, UCHAR *, int, time_t, SSL_SESSION *); 665 SSL_SESSION *ssl_scache_retrieve(server_rec *, UCHAR *, int); 672 BOOL ssl_scache_dbm_store(server_rec *, UCHAR *, int, time_t, SSL_SESSION *); 673 SSL_SESSION *ssl_scache_dbm_retrieve(server_rec *, UCHAR *, int); 679 BOOL ssl_scache_shmht_store(server_rec *, UCHAR *, int, time_t, SSL_SESSION *); 680 SSL_SESSION *ssl_scache_shmht_retrieve(server_rec *, UCHAR *, int); 686 BOOL ssl_scache_shmcb_store(server_rec *, UCHAR *, int, time_t, SSL_SESSION *); [all …]
|
| D | ssl_scache_shmcb.c | 271 static BOOL shmcb_store_session(server_rec *, void *, UCHAR *, int, SSL_SESSION *, time_t); 272 static SSL_SESSION *shmcb_retrieve_session(server_rec *, void *, UCHAR *, int); 281 static SSL_SESSION *shmcb_lookup_session_id(server_rec *, SHMCBQueue *, SHMCBCache *, UCHAR *, int); 425 time_t timeout, SSL_SESSION * pSession) in ssl_scache_shmcb_store() 446 SSL_SESSION *ssl_scache_shmcb_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmcb_retrieve() 450 SSL_SESSION *pSession; in ssl_scache_shmcb_retrieve() 676 int idlen, SSL_SESSION * pSession, in shmcb_store_session() 723 static SSL_SESSION *shmcb_retrieve_session( in shmcb_retrieve_session() 731 SSL_SESSION *pSession; in shmcb_retrieve_session() 1170 static SSL_SESSION *shmcb_lookup_session_id( in shmcb_lookup_session_id() [all …]
|
| D | ssl_scache.c | 110 BOOL ssl_scache_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_store() 130 SSL_SESSION *ssl_scache_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_retrieve() 133 SSL_SESSION *sess = NULL; in ssl_scache_retrieve()
|
| D | ssl_scache_shmht.c | 169 BOOL ssl_scache_shmht_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_shmht_store() 200 SSL_SESSION *ssl_scache_shmht_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmht_retrieve() 204 SSL_SESSION *sess = NULL; in ssl_scache_shmht_retrieve()
|
| D | ssl_scache_dbm.c | 134 BOOL ssl_scache_dbm_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_dbm_store() 199 SSL_SESSION *ssl_scache_dbm_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_dbm_retrieve() 205 SSL_SESSION *sess = NULL; in ssl_scache_dbm_retrieve()
|
| D | README.dsov.fig | 330 4 0 0 100 0 18 12 0.0000 4 180 1350 10980 6165 SSL_SESSION\001
|
| D | ssl_engine_kernel.c | 1765 int ssl_callback_NewSessionCacheEntry(SSL *ssl, SSL_SESSION *pNew) in ssl_callback_NewSessionCacheEntry() 1817 SSL_SESSION *ssl_callback_GetSessionCacheEntry( in ssl_callback_GetSessionCacheEntry() 1822 SSL_SESSION *pSession; in ssl_callback_GetSessionCacheEntry() 1864 SSL_CTX *ctx, SSL_SESSION *pSession) in ssl_callback_DelSessionCacheEntry()
|
| /mirbsd/src/lib/libssl/src/apps/ |
| D | sess_id.c | 86 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()
|
| /mirbsd/src/lib/libssl/src/crypto/pem/ |
| D | pem.h | 387 #define PEM_read_SSL_SESSION(fp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read( \ 461 #define PEM_read_bio_SSL_SESSION(bp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read_bio( \
|