Searched refs:now (Results 1 – 7 of 7) sorted by relevance
84 now.tv_usec += microseconds; in StartMicroseconds()85 if (now.tv_usec >= 1000000) { in StartMicroseconds()86 now.tv_usec -= 1000000; in StartMicroseconds()90 if (now.tv_sec > UINT64_MAX - seconds) { in StartMicroseconds()94 now.tv_sec += seconds; in StartMicroseconds()95 expire_time_ = now; in StartMicroseconds()101 return MicrosecondsRemaining(now) == 0; in IsExpired()113 if (now.tv_sec > expire_time_.tv_sec || in MicrosecondsRemaining()114 (now.tv_sec == expire_time_.tv_sec && in MicrosecondsRemaining()121 if (expire_time_.tv_usec >= now.tv_usec) { in MicrosecondsRemaining()[all …]
158 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in ssl_session_rebase_time() local162 if (session->time > now.tv_sec) { in ssl_session_rebase_time()163 session->time = now.tv_sec; in ssl_session_rebase_time()171 uint64_t delta = now.tv_sec - session->time; in ssl_session_rebase_time()172 session->time = now.tv_sec; in ssl_session_rebase_time()236 session->time = now.tv_sec; in ssl_get_new_session()266 OPENSSL_timeval now = ssl_ctx_get_current_time(ctx); in ssl_ctx_rotate_ticket_encryption_key() local293 now.tv_sec + SSL_DEFAULT_TICKET_KEY_ROTATION_INTERVAL; in ssl_ctx_rotate_ticket_encryption_key()475 if (now.tv_sec < session->time) { in ssl_session_is_time_valid()479 return session->timeout > now.tv_sec - session->time; in ssl_session_is_time_valid()[all …]
363 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in dtls1_process_handshake_fragments() local365 now, uint64_t{ssl->d1->timeout_duration_ms} * 1000 / 4); in dtls1_process_handshake_fragments()1051 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in dtls1_flush() local1053 now, uint64_t{ssl->d1->timeout_duration_ms} * 1000); in dtls1_flush()
470 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in select_session() local473 assert(now.tv_sec >= session->time); in select_session()474 uint64_t server_ticket_age = now.tv_sec - session->time; in select_session()
2994 void StartMicroseconds(OPENSSL_timeval now, uint64_t microseconds);3000 bool IsExpired(OPENSSL_timeval now) const;3008 uint64_t MicrosecondsRemaining(OPENSSL_timeval now) const;
907 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in do_send_server_hello() local909 static_cast<uint32_t>(now.tv_sec)); in do_send_server_hello()
1915 OPENSSL_timeval now = ssl_ctx_get_current_time(ssl->ctx.get()); in ext_pre_shared_key_add_clienthello() local1916 uint32_t ticket_age = 1000 * (now.tv_sec - ssl->session->time); in ext_pre_shared_key_add_clienthello()
Completed in 45 milliseconds