Esempio n. 1
0
 def resetDecrypt(self):
     BlockCipherWithIntegrity.resetDecrypt(
         self)  # reset CBC state (super class)
     self.baseCipher.resetEncrypt(
     )  # CCM uses encryption of base cipher to decrypt!
Esempio n. 2
0
 def resetDecrypt(self):
     BlockCipherWithIntegrity.resetDecrypt(self)  # reset CBC state (super class)
     self.baseCipher.resetEncrypt()  # CCM uses encryption of base cipher to decrypt!
Esempio n. 3
0
 def resetEncrypt(self):
     BlockCipherWithIntegrity.resetEncrypt(
         self)  # reset CCM encrypt state (super class)
     self.baseCipher.resetEncrypt()  # reset base cipher encrypt state
Esempio n. 4
0
 def resetEncrypt(self):
     BlockCipherWithIntegrity.resetEncrypt(self)  # reset CCM encrypt state (super class)
     self.baseCipher.resetEncrypt()  # reset base cipher encrypt state