Home
last modified time | relevance | path

Searched refs:ticket_lifetime (Results 1 – 12 of 12) sorted by relevance

/mbedtls-3.6.0/library/
Dssl_ticket.c119 if (ctx->ticket_lifetime != 0) { in ssl_ticket_update_keys()
128 (uint64_t) (current_time - key_time) < ctx->ticket_lifetime) { in ssl_ticket_update_keys()
196 ctx->ticket_lifetime = lifetime; in mbedtls_ssl_ticket_rotate()
250 ctx->ticket_lifetime = lifetime; in mbedtls_ssl_ticket_setup()
297 uint32_t *ticket_lifetime) in mbedtls_ssl_ticket_write() argument
334 *ticket_lifetime = ctx->ticket_lifetime; in mbedtls_ssl_ticket_write()
503 (uint32_t) (current_time - session->start) > ctx->ticket_lifetime) { in mbedtls_ssl_ticket_parse()
Dssl_tls13_server.c2863 uint32_t ticket_lifetime; in ssl_tls13_write_new_session_ticket_body() local
2882 &ticket_lifetime); in ssl_tls13_write_new_session_ticket_body()
2898 if (ticket_lifetime > 604800) { in ssl_tls13_write_new_session_ticket_body()
2899 ticket_lifetime = 604800; in ssl_tls13_write_new_session_ticket_body()
2901 MBEDTLS_PUT_UINT32_BE(ticket_lifetime, p, 0); in ssl_tls13_write_new_session_ticket_body()
2903 (unsigned int) ticket_lifetime)); in ssl_tls13_write_new_session_ticket_body()
Dssl_client.c762 age > session_negotiate->ticket_lifetime) { in ssl_prepare_client_hello()
Dssl_tls13_client.c2759 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_parse_new_session_ticket()
2762 (unsigned int) session->ticket_lifetime)); in ssl_tls13_parse_new_session_ticket()
Dssl_tls.c2550 MBEDTLS_PUT_UINT32_BE(session->ticket_lifetime, p, 0); in ssl_tls13_session_save()
2641 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load()
8960 MBEDTLS_PUT_UINT32_BE(session->ticket_lifetime, p, 0); in ssl_tls12_session_save()
9154 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls12_session_load()
Dssl_tls12_client.c3473 ssl->session_negotiate->ticket_lifetime = lifetime; in ssl_parse_new_session_ticket()
/mbedtls-3.6.0/include/mbedtls/
Dssl_ticket.h71 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< lifetime of tickets in seconds */
Dssl.h1223 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< ticket lifetime hint */
/mbedtls-3.6.0/programs/ssl/
Dssl_context_info.c520 uint32_t verify_result, ticket_lifetime; in print_deserialized_ssl_session() local
681 ticket_lifetime = ((uint32_t) ssl[0] << 24) | in print_deserialized_ssl_session()
686 printf("\tlifetime : %u sec.\n", ticket_lifetime); in print_deserialized_ssl_session()
Dssl_server2.c1380 size_t *tlen, uint32_t *ticket_lifetime) in dummy_ticket_write() argument
1391 *ticket_lifetime = 7 * 24 * 3600; in dummy_ticket_write()
/mbedtls-3.6.0/tests/src/test_helpers/
Dssl_helpers.c1598 session->ticket_lifetime = 86401; in mbedtls_test_ssl_tls12_populate_session()
1640 session->ticket_lifetime = 0xfedcba98; in mbedtls_test_ssl_tls13_populate_session()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ssl.function2026 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);
2055 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);