Searched refs:agesec (Results 1 – 2 of 2) sorted by relevance
977 uint32_t now, agesec, agems = 0; in tls_construct_ctos_psk() local1034 agesec = now - (uint32_t)s->session->time; in tls_construct_ctos_psk()1043 if (agesec > 0) in tls_construct_ctos_psk()1044 agesec--; in tls_construct_ctos_psk()1046 if (s->session->ext.tick_lifetime_hint < agesec) { in tls_construct_ctos_psk()1055 agems = agesec * (uint32_t)1000; in tls_construct_ctos_psk()1057 if (agesec != 0 && agems / (uint32_t)1000 != agesec) { in tls_construct_ctos_psk()
1090 uint32_t ticket_age = 0, now, agesec, agems; in tls_parse_ctos_psk() local1131 agesec = now - (uint32_t)sess->time; in tls_parse_ctos_psk()1132 agems = agesec * (uint32_t)1000; in tls_parse_ctos_psk()1144 && sess->timeout >= (long)agesec in tls_parse_ctos_psk()1145 && agems / (uint32_t)1000 == agesec in tls_parse_ctos_psk()
Completed in 9 milliseconds