added crt_aes to compute xor table to enc./dec.