compatability with hardware aes - untested