Searched refs:checked_sub (Results 1 – 4 of 4) sorted by relevance
71 ct.len().checked_sub(TAG_LEN).ok_or_else(|| ag_err!(InternalError, "too short"))?; in decrypt()
614 .checked_sub(&hat.time_received()) in authorize_create()677 .checked_sub(&hat.time_received()) in authorize_create()849 .checked_sub(&auth_token_entry.time_received()) in get_auth_tokens()
133 back_off.checked_sub(elapsed) in get_remaining_back_off()
462 .checked_sub(then_epoch) in try_into()463 .and_then(|d| now.checked_sub(d)) in try_into()468 .checked_sub(now_epoch) in try_into()814 pub fn checked_sub(&self, other: &Self) -> Option<Self> { in checked_sub() method815 self.0.checked_sub(other.0).map(Self) in checked_sub()2956 let then = now.checked_sub(duration).unwrap(); in datetime()