kyber_pre_key_needs_rotation

Function kyber_pre_key_needs_rotation 

Source
pub async fn kyber_pre_key_needs_rotation<S: SignalStorageContainer>(
    storage: &mut S,
) -> Result<bool, Box<dyn Error>>
Expand description

Checks if the current Kyber pre-key needs rotation

§Arguments

  • storage - Signal Protocol storage container

§Returns

true if key is older than rotation interval, false otherwise