/// Updates this key to the next epoch.  After an update,
/// the decryption keys for previous epochs are not accessible any more.
/// (KUpd(dk, 1) from Sect. 9.1)
Updates this key to the next epoch.  After an update,
the decryption keys for previous epochs are not accessible any more.
Updates this key to the next epoch . After an update the decryption keys for previous epochs are not accessible any more .
pub fn update(&mut self, sys: &SysParam, rng: &mut impl RAND) {
        self.fast_derive(sys, rng);
        match self.bte_nodes.pop_back() {
            None => {}
            Some(mut dk) => {
                dk.zeroize();
                self.fast_derive(sys, rng);
            }
        }
    }
pub fn update ( & mut self , sys : & SysParam , rng : & mut impl RAND ) { self . fast_derive ( sys , rng ) ; match self . bte_nodes . pop_back ( ) { None => { } Some ( mut dk ) => { dk . zeroize ( ) ; self . fast_derive ( sys , rng ) ; } } }
Updates this key to the next epoch.
Updates this key to the next epoch .
&mut self
sys
&SysParam
rng
&mut impl RAND