예제 #1
0
    def __init__(self):
        AttackBaseClass.__init__(self)
        self._project = None
        self.attack = None

        algos = pluginmanager.getPluginsInDictFromPackage(
            "chipwhisperer.analyzer.attacks.profiling_algorithms", False,
            False, self)
        self.getParams().addChildren([
            {
                'name': 'Algorithm',
                'key': 'Prof_algo',
                'type': 'list',
                'values': algos,
                'value': algos['Template Attack'],
                'action': self.updateAlgorithm
            },  #TODO: Should be called from the AES module to figure out # of bytes
        ])
        AttackGenericParameters.__init__(self)

        # Do not use absolute
        self.useAbs = False
        self.updateAlgorithm()
        self.updateBytesVisible()
        self.setAbsoluteMode(False)
예제 #2
0
 def __init__(self):
     self._algos = pluginmanager.getPluginsInDictFromPackage("chipwhisperer.analyzer.attacks.profiling_algorithms", True, False)
     self._analysisAlgorithm = self._algos["Template Attack"]
     AttackBaseClass.__init__(self)
     self.useAbs = False # Do not use absolute
예제 #3
0
 def __init__(self):
     self._algos = pluginmanager.getPluginsInDictFromPackage(
         "chipwhisperer.analyzer.attacks.profiling_algorithms", True, False)
     self._analysisAlgorithm = self._algos["Template Attack"]
     AttackBaseClass.__init__(self)
     self.useAbs = False  # Do not use absolute