Exemplo 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!
Exemplo 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!
Exemplo n.º 3
0
 def resetEncrypt(self):
     BlockCipherWithIntegrity.resetEncrypt(
         self)  # reset CCM encrypt state (super class)
     self.baseCipher.resetEncrypt()  # reset base cipher encrypt state
Exemplo n.º 4
0
 def resetEncrypt(self):
     BlockCipherWithIntegrity.resetEncrypt(self)  # reset CCM encrypt state (super class)
     self.baseCipher.resetEncrypt()  # reset base cipher encrypt state