Cipher-block chaining (CBC) for AES