def test_inv_sbox_lookup_3(self): bv = aes.key_bv("33") self.assertEqual(aes.bv_hex_str(aes.inv_sbox_lookup(bv)),'66',\ "testing '33' on inv_sbox_lookup")
def test_inv_sbox_lookup_1(self): bv = aes.key_bv("d0") self.assertEqual(aes.bv_hex_str(aes.inv_sbox_lookup(bv)),'60',\ "testing 'd0' on inv_sbox_lookup")
def test_inv_sbox_lookup_2(self): bv = aes.key_bv("62") self.assertEqual(aes.bv_hex_str(aes.inv_sbox_lookup(bv)),'ab',\ "testing '62' on inv_sbox_lookup")
def test_inv_sbox_lookup_0(self): bv = aes.key_bv("61") self.assertEqual(aes.bv_hex_str(aes.inv_sbox_lookup(bv)),'d8',\ "testing '61' on inv_sbox_lookup")