Ejemplo n.º 1
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
     self.at = nPA_AT_CRT() 
     #This breaks support for 3DES
     self.cct.blocklength = 16
     self.cct.algorithm = "CC"
     self.eac_step = 0
     self.sec = None
     self.eac_ctx = None
     self.cvca = None
     self.car = None
     self.ca_key = None
     self.disable_checks = False
Ejemplo n.º 2
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
     self.at = nPA_AT_CRT()
     # This breaks support for 3DES
     self.cct.blocklength = 16
     self.cct.algorithm = "CC"
     self.eac_step = 0
     self.sec = None
     self.eac_ctx = None
     self.cvca = None
     self.car = None
     self.ca_key = None
     self.disable_checks = False
Ejemplo n.º 3
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
Ejemplo n.º 4
0
 def __init__(self, MF, SAM, ssc=None):
     Security_Environment.__init__(self, MF, SAM)
     self.ssc = ssc
     self.cct.algorithm = "CC"
     self.cct.blocklength = 8
     self.ct.algorithm = "DES3-CBC"
Ejemplo n.º 5
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)