Searched refs:ticket_lifetime (Results 1 – 12 of 12) sorted by relevance
/mbedtls-3.5.0/library/ |
D | ssl_ticket.c | 125 if (ctx->ticket_lifetime != 0) { in ssl_ticket_update_keys() 134 (uint64_t) (current_time - key_time) < ctx->ticket_lifetime) { in ssl_ticket_update_keys() 202 ctx->ticket_lifetime = lifetime; in mbedtls_ssl_ticket_rotate() 256 ctx->ticket_lifetime = lifetime; in mbedtls_ssl_ticket_setup() 303 uint32_t *ticket_lifetime) in mbedtls_ssl_ticket_write() argument 340 *ticket_lifetime = ctx->ticket_lifetime; in mbedtls_ssl_ticket_write() 509 (uint32_t) (current_time - session->start) > ctx->ticket_lifetime) { in mbedtls_ssl_ticket_parse()
|
D | ssl_tls13_server.c | 2802 uint32_t ticket_lifetime; in ssl_tls13_write_new_session_ticket_body() local 2821 &ticket_lifetime); in ssl_tls13_write_new_session_ticket_body() 2837 if (ticket_lifetime > 604800) { in ssl_tls13_write_new_session_ticket_body() 2838 ticket_lifetime = 604800; in ssl_tls13_write_new_session_ticket_body() 2840 MBEDTLS_PUT_UINT32_BE(ticket_lifetime, p, 0); in ssl_tls13_write_new_session_ticket_body() 2842 (unsigned int) ticket_lifetime)); in ssl_tls13_write_new_session_ticket_body()
|
D | ssl_client.c | 743 age > session_negotiate->ticket_lifetime) { in ssl_prepare_client_hello()
|
D | ssl_tls13_client.c | 2778 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_parse_new_session_ticket() 2781 (unsigned int) session->ticket_lifetime)); in ssl_tls13_parse_new_session_ticket()
|
D | ssl_tls.c | 2570 MBEDTLS_PUT_UINT32_BE(session->ticket_lifetime, p, 0); in ssl_tls13_session_save() 2661 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load() 9064 MBEDTLS_PUT_UINT32_BE(session->ticket_lifetime, p, 0); in ssl_tls12_session_save() 9268 session->ticket_lifetime = ((uint32_t) p[0] << 24) | in ssl_tls12_session_load()
|
D | ssl_tls12_client.c | 3466 ssl->session_negotiate->ticket_lifetime = lifetime; in ssl_parse_new_session_ticket()
|
/mbedtls-3.5.0/include/mbedtls/ |
D | ssl_ticket.h | 83 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< lifetime of tickets in seconds */
|
D | ssl.h | 1220 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< ticket lifetime hint */
|
/mbedtls-3.5.0/programs/ssl/ |
D | ssl_context_info.c | 531 uint32_t verify_result, ticket_lifetime; in print_deserialized_ssl_session() local 692 ticket_lifetime = ((uint32_t) ssl[0] << 24) | in print_deserialized_ssl_session() 697 printf("\tlifetime : %u sec.\n", ticket_lifetime); in print_deserialized_ssl_session()
|
D | ssl_server2.c | 1390 size_t *tlen, uint32_t *ticket_lifetime) in dummy_ticket_write() argument 1401 *ticket_lifetime = 7 * 24 * 3600; in dummy_ticket_write()
|
/mbedtls-3.5.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 1522 session->ticket_lifetime = 86401; in mbedtls_test_ssl_tls12_populate_session() 1564 session->ticket_lifetime = 0xfedcba98; in mbedtls_test_ssl_tls13_populate_session()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_ssl.function | 2200 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime); 2229 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);
|