Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd-14.2/crypto/openssl/test/ssl-tests/
H A D06-sni-ticket.cnf5 test-0 = 0-sni-session-ticket
6 test-1 = 1-sni-session-ticket
7 test-2 = 2-sni-session-ticket
8 test-3 = 3-sni-session-ticket
9 test-4 = 4-sni-session-ticket
10 test-5 = 5-sni-session-ticket
11 test-6 = 6-sni-session-ticket
24 [0-sni-session-ticket]
66 [1-sni-session-ticket]
110 [2-sni-session-ticket]
[all …]
H A D27-ticket-appdata.cnf5 test-0 = 0-session-ticket-app-data12
6 test-1 = 1-session-ticket-app-data12
7 test-2 = 2-session-ticket-app-data13
8 test-3 = 3-session-ticket-app-data13
11 [0-session-ticket-app-data12]
14 [0-session-ticket-app-data12-ssl]
20 [0-session-ticket-app-data12-server]
48 [1-session-ticket-app-data12]
51 [1-session-ticket-app-data12-ssl]
80 [2-session-ticket-app-data13]
[all …]
/freebsd-14.2/crypto/openssl/test/recipes/
H A D70-test_tlsextms.t97 (undef, my $session) = tempfile();
102 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
105 unlink $session;
114 (undef, $session) = tempfile();
123 unlink $session;
131 (undef, $session) = tempfile();
140 unlink $session;
148 (undef, $session) = tempfile();
157 unlink $session;
165 (undef, $session) = tempfile();
[all …]
H A D70-test_sslsessiontick.t79 (undef, my $session) = tempfile();
81 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
84 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
87 unlink $session;
93 (undef, $session) = tempfile();
98 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
102 unlink $session;
115 (undef, $session) = tempfile();
121 $proxy->clientflags("-no_tls1_3 -sess_in ".$session." -sess_out ".$session);
128 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
[all …]
H A D70-test_tls13psk.t48 (undef, my $session) = tempfile();
49 $proxy->clientflags("-sess_out ".$session);
51 $proxy->sessionfile($session);
58 $proxy->clientflags("-sess_in ".$session);
67 $proxy->clientflags("-sess_in ".$session);
85 $proxy->clientflags("-sess_in ".$session);
108 $proxy->clientflags("-sess_in ".$session);
113 unlink $session;
/freebsd-14.2/contrib/libpcap/rpcapd/
H A Ddaemon.c139 struct session *session);
142 struct session *session, uint32 plen);
2004 session = malloc(sizeof(struct session)); in daemon_msg_startcap_req()
2012 session->ctrl_ssl = session->data_ssl = NULL; in daemon_msg_startcap_req()
2027 memset(&session->thread, 0, sizeof(session->thread)); in daemon_msg_startcap_req()
2297 struct session *session) in daemon_msg_endcap_req() argument
2420 struct session *session, uint32 plen) in daemon_msg_updatefilter_req() argument
2562 if (session && session->fp) in daemon_msg_stats_req()
2622 session = (struct session *) ptr; in daemon_thrdatamain()
2798 rpcap_senderror(session->sockctrl, session->ctrl_ssl, session->protocol_version, in daemon_thrdatamain()
[all …]
/freebsd-14.2/crypto/openssl/doc/man3/
H A DSSL_CTX_set_session_cache_mode.pod16 SSL_CTX_set_session_cache_mode() enables/disables session caching
28 In order to reuse a session, a client must send the session's id to the
31 session).
33 A server will look up the session in its internal session storage. If the
39 context, the session id context must be set by the server (see
42 The following session cache modes and modifiers are available:
48 No session caching for client or server takes place.
62 session to be reused, the server looks for the corresponding session in (first)
65 server will try to reuse the session. This is the default.
99 session lookups in the external cache (i.e. for session-resume requests) would
[all …]
H A DSSL_CTX_add_session.pod5 SSL_CTX_add_session, SSL_CTX_remove_session - manipulate session cache
17 SSL_CTX_add_session() adds the session B<c> to the context B<ctx>. The
18 reference count for session B<c> is incremented by 1. If a session with
19 the same session id already exists, the old session is removed by calling
27 When adding a new session to the internal session cache, it is examined
28 whether a session with the same session id already exists. In this case
29 it is assumed that both sessions are identical. If the same session is
30 stored in a different SSL_SESSION object, The old session is
31 removed and replaced by the new session. If the session is actually
38 cache will be searched automatically for session-resume requests (the
[all …]
H A DSSL_CTX_sess_set_get_cb.pod32 called whenever a new session was negotiated.
35 called whenever a session is removed by the SSL engine. For example,
40 whenever a TLS client proposed to resume a session but the session
41 could not be found in the internal session cache (see
53 session cache is realized via callback functions. Inside these callback
60 ssl session B<sess>.
80 L<SSL_CTX_remove_session(3)> after a session has been used.
85 for all sessions in the internal session cache when
90 the session id
92 session caching was disabled. The get_session_cb() is passed the
[all …]
H A DSSL_set_session.pod5 SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect
11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
15 SSL_set_session() sets B<session> to be used when the TLS/SSL connection
17 When the session is set, the reference count of B<session> is incremented
18 by 1. If the session is not reused, the reference count is decremented
19 again during SSL_connect(). Whether the session was reused can be queried
22 If there is already a session set inside B<ssl> (because it was set with
24 a connection), SSL_SESSION_free() will be called for that session.
25 This is also the case when B<session> is a NULL pointer. If that old
27 session cache (if used). A session is considered open, if L<SSL_shutdown(3)> was
[all …]
H A DSSL_CTX_set_generate_session_id.pod7 - manipulate generation of SSL session IDs (server only)
24 new session ids for SSL/TLS sessions for B<ctx> to be B<cb>.
27 new session ids for SSL/TLS sessions for B<ssl> to be B<cb>.
29 SSL_has_matching_session_id() checks, whether a session with id B<id>
36 generates a session id. The session id is an arbitrary sequence of bytes.
37 The length of the session id is between 1 and 32 bytes. The session id is not
43 session id from pseudo random numbers of the maximum possible length.
44 Using the callback function, the session id can be changed to contain
74 not the external one. Since the session id is generated before the
77 can occur in that another thread generates the same session id.
[all …]
H A DSSL_get_session.pod5 SSL_get_session, SSL_get0_session, SSL_get1_session - retrieve TLS/SSL session data
28 The ssl session contains all information required to re-establish the
43 sent, or if no session tickets were sent then the session for the current
48 The new session callback is only invoked when a session is actually established,
54 A session will be automatically removed from the session cache and marked as
62 SSL_get0_session() returns a pointer to the actual session. As the
65 L<SSL_free(3)> is called, the session may be removed completely
72 but stays in memory. In order to remove the session
77 list, when being inserted into one SSL_CTX object's session cache.
90 There is no session available in B<ssl>.
[all …]
H A DSSL_CTX_set_session_id_context.pod19 B<sid_ctx_len> within which a session can be reused for the B<ctx> object.
22 B<sid_ctx_len> within which a session can be reused for the B<ssl> object.
28 to re-import a session generated from another context (e.g. another
36 The session id context becomes part of the session. The session id context
41 OpenSSL clients will check the session id context returned by the server
42 when reusing a session.
49 If the session id context is not set on an SSL/TLS server and client
54 If a server returns a different session id context to an OpenSSL client
55 when reusing a session, an error will be flagged and the handshake will
58 a session as described above.
[all …]
H A DSSL_CTX_set_session_ticket_cb.pod9 SSL_CTX_decrypt_session_ticket_fn - manage session ticket application data
32 with a session, and placed into a session ticket. Either callback function may
41 B<dec_cb> is the application defined callback invoked after session ticket
42 decryption has been attempted and any session ticket application data is
55 the application that a session ticket is about to be generated.
57 SSL_SESSION_get0_ticket_appdata() assigns B<data> to the session ticket
58 application data and assigns B<len> to the length of the session ticket
61 to B<data> and 0 will be assigned to B<len> if there is no session ticket
63 after a session has been created. The B<dec_cb> is provided to notify the
64 application that a session ticket has just been decrypted.
[all …]
H A DSSL_CTX_sess_set_cache_size.pod5 SSL_CTX_sess_set_cache_size, SSL_CTX_sess_get_cache_size - manipulate session cache size
16 SSL_CTX_sess_set_cache_size() sets the size of the internal session cache
20 SSL_CTX_sess_get_cache_size() returns the currently valid session cache size.
24 The internal session cache size is SSL_SESSION_CACHE_MAX_SIZE_DEFAULT,
29 If adding the session makes the cache exceed its size, then unused
35 If the size of the session cache is reduced and more sessions are already
36 in the session cache, old session will be removed at the next time a
37 session shall be added. This removal is not synchronized with the
H A DSSL_CTX_set_tlsext_ticket_key_cb.pod7 - set a callback for session ticket processing
30 session tickets for the ssl context I<sslctx>. Session tickets, defined in
31 RFC5077 provide an enhanced session resumption capability where the server
36 session when session ticket extension is presented in the TLS hello
45 In order to reuse a session, a TLS client must send the session ticket
46 extension to the server. The client must send exactly one session ticket.
94 continue on those parameters. Additionally it indicates that the session
107 the SSL/TLS session will continue by negotiating a set of cryptographic
144 enable an attacker to obtain the session keys.
164 if (enc) { /* create new session */
[all …]
/freebsd-14.2/crypto/heimdal/lib/hx509/
H A Dtest_soft_pkcs11.c42 find_object(CK_SESSION_HANDLE session, in find_object() argument
69 ret = (*func->C_FindObjectsFinal)(session); in find_object()
89 CK_SESSION_HANDLE session; in main() local
123 NULL, NULL, &session); in main()
132 ret = (*func->C_Login)(session, CKU_USER, in main()
145 ret = find_object(session, "cert", CKO_PUBLIC_KEY, &public); in main()
159 ret = (*func->C_SignInit)(session, &mechanism, private); in main()
171 ret = (*func->C_VerifyInit)(session, &mechanism, public); in main()
192 ret = (*func->C_EncryptInit)(session, &mechanism, public); in main()
204 ret = (*func->C_DecryptInit)(session, &mechanism, private); in main()
[all …]
H A Dks_p11.c50 CK_SESSION_HANDLE session; member
131 CK_SESSION_HANDLE session; in p11_rsa_private_encrypt() local
169 CK_SESSION_HANDLE session; in p11_rsa_private_decrypt() local
334 CK_SESSION_HANDLE session; in p11_init_slot() local
407 *psession = slot->session; in p11_get_session()
415 &slot->session)); in p11_get_session()
498 *psession = slot->session; in p11_get_session()
506 CK_SESSION_HANDLE session) in p11_put_session() argument
518 CK_SESSION_HANDLE session, in iterate_entries() argument
594 CK_SESSION_HANDLE session, in getattr_bn() argument
[all …]
/freebsd-14.2/crypto/openssh/
H A Dpkcs11.h766 (ck_session_handle_t session,
769 (ck_session_handle_t session,
773 (ck_session_handle_t session,
784 (ck_session_handle_t session,
792 (ck_session_handle_t session,
795 (ck_session_handle_t session,
799 (ck_session_handle_t session,
804 (ck_session_handle_t session,
809 (ck_session_handle_t session,
813 (ck_session_handle_t session,
[all …]
H A Dssh-pkcs11.c226 session = p->slotinfo[slotidx].session; in pkcs11_find()
686 si->session = session; in pkcs11_open_session()
723 session = p->slotinfo[slotidx].session; in pkcs11_fetch_ecdsa_pubkey()
844 session = p->slotinfo[slotidx].session; in pkcs11_fetch_rsa_pubkey()
946 session = p->slotinfo[slotidx].session; in pkcs11_fetch_x509_pubkey()
1130 session = p->slotinfo[slotidx].session; in pkcs11_fetch_certs()
1234 session = p->slotinfo[slotidx].session; in pkcs11_fetch_keys()
1376 session = si->session; in pkcs11_rsa_generate_private_key()
1493 session = si->session; in pkcs11_ecdsa_generate_private_key()
1719 session = si->session; in pkcs11_gakp()
[all …]
/freebsd-14.2/crypto/heimdal/lib/hx509/ref/
H A Dpkcs11.h766 (ck_session_handle_t session,
769 (ck_session_handle_t session,
773 (ck_session_handle_t session,
784 (ck_session_handle_t session,
792 (ck_session_handle_t session,
795 (ck_session_handle_t session,
799 (ck_session_handle_t session,
804 (ck_session_handle_t session,
809 (ck_session_handle_t session,
813 (ck_session_handle_t session,
[all …]
/freebsd-14.2/sys/opencrypto/
H A Dcryptodev_if.m42 * @brief Probe to see if a crypto driver supports a session.
47 * session.
63 * @param csp crypto session parameters
65 * @retval negative if the driver supports this session - the
67 * driver for the session
68 * @retval EINVAL if the driver does not support the session
77 * @brief Initialize a new crypto session object
86 * @param crypto_session session being initialized
87 * @param csp crypto session parameters
99 * @brief Destroy a crypto session object
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c172 crp->crp_opaque = session; in zfs_crypto_dispatch()
185 mtx_lock(&session->fs_lock); in zfs_crypto_dispatch()
190 mtx_unlock(&session->fs_lock); in zfs_crypto_dispatch()
202 session->fs_done = false; in zfs_crypto_dispatch()
208 session->fs_sid = crp->crp_session; in zfs_crypto_dispatch()
357 session = kmem_zalloc(sizeof (*session), KM_SLEEP); in freebsd_crypt_uio()
362 session = input_sessionp; in freebsd_crypt_uio()
391 kmem_free(session, sizeof (*session)); in freebsd_crypt_uio()
573 session = kmem_zalloc(sizeof (*session), KM_SLEEP); in freebsd_crypt_uio()
578 session = input_sessionp; in freebsd_crypt_uio()
[all …]
/freebsd-14.2/crypto/openssl/doc/man1/
H A Dopenssl-sess_id.pod.in6 openssl-sess_id - SSL/TLS session handling command
23 This command processes the encoded version of the SSL session
24 structure and optionally prints out SSL session details (for example
25 the SSL session master key) in human readable format. Since this is a
70 This option prevents output of the encoded version of the session.
74 This option can set the session id so the output session information uses the
110 The SSL session ID in hex format.
114 The session ID context in hex format.
118 This is the SSL session master key.
137 Since the SSL session output contains the master key it is
[all …]
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dtls_gnutls.c46 gnutls_session_t session; member
204 ret = gnutls_init(&conn->session, in tls_gnutls_init_session()
234 gnutls_deinit(conn->session); in tls_gnutls_init_session()
282 gnutls_deinit(conn->session); in tls_connection_deinit()
322 gnutls_deinit(conn->session); in tls_connection_shutdown()
1145 conn = gnutls_session_get_ptr(session); in tls_connection_verify_peer()
1264 if (check_ocsp(conn, session, &err)) in tls_connection_verify_peer()
1472 ret = gnutls_handshake(conn->session); in tls_connection_handshake()
1553 gnutls_session_get_data(conn->session, in tls_connection_handshake()
1688 kx = gnutls_kx_get(conn->session); in tls_get_cipher()
[all …]

12345678910>>...15