diff options
author | Kenny Root <kroot@google.com> | 2016-09-19 11:00:16 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-09-19 11:01:54 -0700 |
commit | 113ad9302321c1eb3dd98aad6745d5257d130db8 (patch) | |
tree | e9d2b7bfbcec480728d699382a801a102ed09e3d /annotations/generate_annotated_java_files.py | |
parent | 9d64332210a6cfbac99850972ccd0650250d3dcc (diff) |
CipherTest: distinguish between encrypt and decrypt keys
Block ciphers typically have the same SecretKeySpec for both encryption
and decryption. However, in order to add tests of RSA encipherment there
must be a distinction between encryption and decryption keys. Add this
distinction in the tests but leave the existing CipherTestParam
construction the same for now.
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: Ib18947420fe53aa61f80a05f81bb8ea9d6fa9ed1
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions