Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dssl_ticket.c125 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()
Dssl_tls13_server.c2802 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()
Dssl_client.c743 age > session_negotiate->ticket_lifetime) { in ssl_prepare_client_hello()
Dssl_tls13_client.c2778 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()
Dssl_tls.c2570 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()
Dssl_tls12_client.c3466 ssl->session_negotiate->ticket_lifetime = lifetime; in ssl_parse_new_session_ticket()
/third_party/mbedtls/include/mbedtls/
Dssl_ticket.h83 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< lifetime of tickets in seconds */
Dssl.h1219 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< ticket lifetime hint */
/third_party/mbedtls/programs/ssl/
Dssl_context_info.c531 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()
Dssl_server2.c1390 size_t *tlen, uint32_t *ticket_lifetime) in dummy_ticket_write() argument
1401 *ticket_lifetime = 7 * 24 * 3600; in dummy_ticket_write()
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1522 session->ticket_lifetime = 86401; in mbedtls_test_ssl_tls12_populate_session()
1564 session->ticket_lifetime = 0xfedcba98; in mbedtls_test_ssl_tls13_populate_session()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function2200 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);
2229 TEST_ASSERT(original.ticket_lifetime == restored.ticket_lifetime);