implement aes-f8 mode encryption and decryption