diff options
author | Kenny Root <kroot@google.com> | 2016-10-06 13:06:28 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-10-07 09:07:03 -0700 |
commit | 8fe7fe2365c2b3ea5f70d4073df0640f637569dc (patch) | |
tree | a4db27a9b58c15f0bed228a75a6a483c1a8969fc /annotations/generate_annotated_java_files.py | |
parent | ff488c43cf4315a4d2508c0ff3dfd8511e53959d (diff) |
CipherTest: fix miswording and expectation of zero-length ops
After reviewing this it appears that the expectations of BC are correct
when trying to decrypt empty buffers with OAEP. This can't be correct,
so BC is not wrong here.
However, BC does have a bug when trying to decrypt a ciphertext that
decrypts to a zero-length plaintext buffer. Fix the wording of the
comment to make this clearer.
Test: vogar --mode host --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-support-hostdex_intermediates/classes.jack --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-hostdex_intermediates/classes.jack libcore/luni/src/test/java/libcore/javax/crypto/CipherTest.java
Change-Id: I4122e2a303e3b610c201e609790389fe62a0df28
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions