rendered paste bodyvon debian:
[0x40079c] aes_set_key(0x7fff77c0, 0x10000020, 256, 0, 0x10008400) = 0
[0x400818] aes_decrypt(0x7fff77c0, 0x10000064, 0x10000064, 0x7fff77c8, 0x10008400) = 0x4d16b2
[0x400818] aes_decrypt(0x7fff77c0, 0x10000074, 0x10000074, 0x4d16b2aa, 0x10008400) = 0x50d2c7
[0x400818] aes_decrypt(0x7fff77c0, 0x10000084, 0x10000084, 0x50d2c79a, 0x10008400) = 0xe6f2fe
[0x40084c] printf("\n" <unfinished ...>
[0x2ac5e134] SYS_write(1, "\n", 1
) = 1
[0x40084c] <... printf resumed> ) = 1
[0x2ac576a0] SYS_exit(0 <unfinished ...>
von sv:
[0x40d0fc] aes_set_key(0x7fff1468, 0x7ffec7d8, 256, 1, 128) = 0
[0x40d130] aes_decrypt(0x7fff1468, 0x7ffecda8, 0x7ffecda8, 0x7fff1470, 128) = 0x31333a
[0x40d130] aes_decrypt(0x7fff1468, 0x7ffecdb8, 0x7ffecdb8, 0x31333a31, 128) = 0x383a36
[0x40d130] aes_decrypt(0x7fff1468, 0x7ffecdc8, 0x7ffecdc8, 0x383a3642, 128) = 0
C-Code:
int main( void )
{
int m, n, i, j;
aes_context ctx;
unsigned char buf[896];
unsigned char key[32];
printf( "\n Unaes" );
aes_set_key( &ctx, SVEA_key, 256 );
for( i = 0; i < 3; i++ )
{
aes_decrypt( &ctx, SVEA_data1+i*16, SVEA_data1+i*16 );
}
// printf( "%s",SVEA_data );
printf( "\n" );
return( 0 );
}