Triple_DES in C code