Searched refs:ticket_lifetime (Results 1 – 12 of 12) sorted by relevance
/mbedtls-3.6.0/library/ |
D | ssl_ticket.c | 119 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()
|
D | ssl_tls13_server.c | 2863 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()
|
D | ssl_client.c | 762 age > session_negotiate->ticket_lifetime) { in ssl_prepare_client_hello()
|
D | ssl_tls13_client.c | 2759 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()
|
D | ssl_tls.c | 2550 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()
|
D | ssl_tls12_client.c | 3473 ssl->session_negotiate->ticket_lifetime = lifetime; in ssl_parse_new_session_ticket()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | ssl_ticket.h | 71 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< lifetime of tickets in seconds */
|
D | ssl.h | 1223 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< ticket lifetime hint */
|
/mbedtls-3.6.0/programs/ssl/ |
D | ssl_context_info.c | 520 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()
|
D | ssl_server2.c | 1380 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/ |
D | ssl_helpers.c | 1598 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/ |
D | test_suite_ssl.function | 2026 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime); 2055 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);
|