Revert "Cut down on object allocation in CipherInputStream"

The size of the output buffer is fixed during the life of the cipher,
but a Cipher can be re-initialized to change the output size. For
instance a new AlgorithmParameterSpec can be passed in which changes
the tag size or a Cipher can be flipped from DECRYPT_MODE to
ENCRYPT_MODE which could add a block of padding for CBC mode or a tag
for GCM mode. Probably what needs to be done is check output size for
each entry into readMoreData.

This reverts commit 81690afd3a3da9b8dd22e74d892befb9a69dfe6f.

Bug: 32643789
Change-Id: I5e0f00db97dc1c26df2b5c0d88280a17878e5d70
1 file changed