hi bro & all friend ^^
i put here only algo_via new system for TnTsat test work 100%.
regards,
algo_via
#include "des.h"
#include <avr/pgmspace.h>
typedef uint8_t byte;
unsigned short mul(unsigned short a, unsigned char b);
// aes encryption
byte *aes_decrypt(byte *in);
void addRoundKey(int i);
void inv_subBytes(void);
void inv_shiftRows(void);
byte xtime(byte x);
void inv_mixColumns(void);
byte keyHD[11][16] = { //TNTSat 030B00 HD AES rounds table
{0x43,0x97,0x26,0xEB,0xB6,0xA9,0x39,0xA4,0x56,0xC0,0x5F,0xF6,0xAA,0x60,0x6C,0x43},
{0x92,0xc7,0x3c,0x47,0x24,0x6e,0x05,0xe3,0x72,0xae,0x5a,0x15,0xd8,0xce,0x36,0x56},
{0x1b,0xc2,0x8d,0x26,0x3f,0xac,0x88,0xc5,0x4d,0x02,0xd2,0xd0,0x95,0xcc,0xe4,0x86},
{0x54,0xab,0xc9,0x0c,0x6b,0x07,0x41,0xc9,0x26,0x05,0x93,0x19,0xb3,0xc9,0x77,0x9f},
{0x81,0x5e,0x12,0x61,0xea,0x59,0x53,0xa8,0xcc,0x5c,0xc0,0xb1,0x7f,0x95,0xb7,0x2e},
{0xbb,0xf7,0x23,0xb3,0x51,0xae,0x70,0x1b,0x9d,0xf2,0xb0,0xaa,0xe2,0x67,0x07,0x84},
{0x1e,0x32,0x7c,0x2b,0x4f,0x9c,0x0c,0x30,0xd2,0x6e,0xbc,0x9a,0x30,0x09,0xbb,0x1e},
{0x5f,0xd8,0x0e,0x2f,0x10,0x44,0x02,0x1f,0xc2,0x2a,0xbe,0x85,0xf2,0x23,0x05,0x9b},
{0xf9,0xb3,0x1a,0xa6,0xe9,0xf7,0x18,0xb9,0x2b,0xdd,0xa6,0x3c,0xd9,0xfe,0xa3,0xa7},
{0x59,0xb9,0x46,0x93,0xb0,0x4e,0x5e,0x2a,0x9b,0x93,0xf8,0x16,0x42,0x6d,0x5b,0xb1},
{0x53,0x80,0x8e,0xbf,0xe3,0xce,0xd0,0x95,0x78,0x5d,0x28,0x83,0x3a,0x30,0x73,0x32}
};
byte key[11][16] = { //TNTSat 030B00 SD AES rounds table
{0xA7,0x9A,0xC0,0xDB,0xEC,0x9C,0x92,0x51,0xD1,0x91,0x5F,0x05,0x88,0x62,0xAF,0x26},
{0x0c,0xe3,0x37,0x1f,0xe0,0x7f,0xa5,0x4e,0x31,0xee,0xfa,0x4b,0xb9,0x8c,0x55,0x6d},
{0x6a,0x1f,0x0b,0x49,0x8a,0x60,0xae,0x07,0xbb,0x8e,0x54,0x4c,0x02,0x02,0x01,0x21},
{0x19,0x63,0xf6,0x3e,0x93,0x03,0x58,0x39,0x28,0x8d,0x0c,0x75,0x2a,0x8f,0x0d,0x54},
{0x62,0xb4,0xd6,0xdb,0xf1,0xb7,0x8e,0xe2,0xd9,0x3a,0x82,0x97,0xf3,0xb5,0x8f,0xc3},
{0xa7,0xc7,0xf8,0xd6,0x56,0x70,0x76,0x34,0x8f,0x4a,0xf4,0xa3,0x7c,0xff,0x7b,0x60},
{0x91,0xe6,0x28,0xc6,0xc7,0x96,0x5e,0xf2,0x48,0xdc,0xaa,0x51,0x34,0x23,0xd1,0x31},
{0xf7,0xd8,0xef,0xde,0x30,0x4e,0xb1,0x2c,0x78,0x92,0x1b,0x7d,0x4c,0xb1,0xca,0x4c},
{0xbf,0xac,0xc6,0xf7,0x8f,0xe2,0x77,0xdb,0xf7,0x70,0x6c,0xa6,0xbb,0xc1,0xa6,0xea},
{0xdc,0x88,0x41,0x1d,0x53,0x6a,0x36,0xc6,0xa4,0x1a,0x5a,0x60,0x1f,0xdb,0xfc,0x8a},
{0x53,0x38,0x3f,0xdd,0x00,0x52,0x09,0x1b,0xa4,0x48,0x53,0x7b,0xbb,0x93,0xaf,0xf1}
};
all al here attached in text file ,yes you need all file but i put here only algo _via you can modify with your source file to add in emu or car file with corect keys TNTsat + tntsat HD work 100% without freez or cute.
thanks monza