summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2016-09-19 11:37:36 -0700
committerKenny Root <kroot@google.com>2016-09-27 18:34:31 +0000
commitf989a50275a83ed85a49e19b962d08c34ae42fcc (patch)
tree194f63bb25efce1a5804dd20a339bb74f688ac30 /annotations/generate_annotated_java_files.py
parentc420a3603fc4151dd59c5e3fd3e984e352332088 (diff)
CipherTest: add RSA OAEP tests
This adds test vectors for various modes of RSA OAEP. They were all generated with OpenSSL on the command line as noted in the comments above each. Bouncycastle has a bug where it can't decrypt an empty ciphertext in OAEP mode, so note that in the tests. 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: Ibda2d17cc8342008485422196bf0779a9d2469c0
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions