summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorSergio Giro <sgiro@google.com>2016-11-09 19:28:47 +0000
committerSergio Giro <sgiro@google.com>2016-11-09 20:10:45 +0000
commit298b528cc2a25dedb0e818949d1e5c560a3498de (patch)
tree29ce4fadb9d32b63c673293572deb42238815d34 /annotations/generate_annotated_java_files.py
parent81690afd3a3da9b8dd22e74d892befb9a69dfe6f (diff)
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
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions