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