def resetDecrypt(self): BlockCipherWithIntegrity.resetDecrypt( self) # reset CBC state (super class) self.baseCipher.resetEncrypt( ) # CCM uses encryption of base cipher to decrypt!
def resetDecrypt(self): BlockCipherWithIntegrity.resetDecrypt(self) # reset CBC state (super class) self.baseCipher.resetEncrypt() # CCM uses encryption of base cipher to decrypt!
def resetEncrypt(self): BlockCipherWithIntegrity.resetEncrypt( self) # reset CCM encrypt state (super class) self.baseCipher.resetEncrypt() # reset base cipher encrypt state
def resetEncrypt(self): BlockCipherWithIntegrity.resetEncrypt(self) # reset CCM encrypt state (super class) self.baseCipher.resetEncrypt() # reset base cipher encrypt state