A bug in decryption.  Encryption seems to work and writes the size to the first 16 bytes, and the IV, with decrypted text following. Decryption is broken.