diff options
author | Kenny Root <kroot@google.com> | 2016-09-19 11:33:47 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-09-19 11:33:52 -0700 |
commit | dfb337d6f7040e490763a30eba1d5b3b5bb71d2d (patch) | |
tree | af7ebcae7d4a95dc2b90bba01103c5c5cbc64012 /annotations/generate_annotated_java_files.py | |
parent | 6aaf31e80827682f3c5f2d38507dcc94cc39bf8d (diff) |
CipherTest: do not test known ciphertext for randomized algorithms
Randomized algorithms will by their nature output different outputs each
time the same message is encrypted. Do not test that the known answer is
reached for these algorithms. Later in the test that known ciphertext will be
decrypted to make sure the correct plaintext is produced as well as a
loop-back test with a newly created ciphertext.
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: I790e3f9822c12b7f2c6615f5dda503154cd870bd
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions