How to use the chipwhisperer.analyzer.attacks.models.AES128_8bit.AES128_8bit function in chipwhisperer

To help you get started, we’ve selected a few chipwhisperer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def sbox_output(self):
        """SBox Output."""
        return AES128_8bit(aes128_leakage.SBox_output)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def round_1_2_state_diff_sbox(self):
        """Hamming distance between round 1 and 2 state during sbox lookup
        operation.
        """
        return AES128_8bit(aes128_leakage.Round1Round2StateDiff_SBox)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def sbox_input_successive(self):
        """Successive Sbox input."""
        return AES128_8bit(aes128_leakage.SBoxInputSuccessive)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def plaintext_key_xor(self):
        """Plain text key XOR."""
        return AES128_8bit(aes128_leakage.PtKey_XOR)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def inverse_sbox_output(self):
        """Inverse Sbox output."""
        return AES128_8bit(aes128_leakage.InvSBox_output)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def last_round_state_diff(self):
        """Last round state using hamming distance."""
        return AES128_8bit(aes128_leakage.LastroundStateDiff)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def last_round_state(self):
        """Last round state."""
        return AES128_8bit(aes128_leakage.LastroundHW)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def last_round_state_diff_alternate(self):
        """Last round state using hamming distance, alternate."""
        return AES128_8bit(aes128_leakage.LastroundStateDiffAlternate)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / attacks / models / __init__.py View on Github external
def mix_columns_output(self):
        """Output of the mix columns operation."""
        return AES128_8bit(aes128_leakage.Mixcolumns_output)
github newaetech / chipwhisperer / software / chipwhisperer / analyzer / utils / Partition.py View on Github external
def getPartitionNum(self, trace, tnum):
        key = trace.getKnownKey(tnum)
        text = trace.getTextin(tnum)

        guess = [0] * 16
        for i in range(0, 16):
            guess[i] = AES128_8bit.getHW(sbox(text[i] ^ key[i]))

        return guess