diff options
author | Kenny Root <kroot@google.com> | 2016-11-17 14:22:05 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-11-21 15:12:53 -0800 |
commit | 78db2321a32116ceccf679cc9075993a60901b6d (patch) | |
tree | 2d59ee85d5ec796d85fbbbb1ca16eb21a772dc36 /annotations/generate_annotated_java_files.py | |
parent | 15060bea5cae5e84a06f55c5f897127834a080ab (diff) |
CipherTest: assert getParameters output is correct
When RSA/ECB/OAEPPadding was added to Conscrypt, the engineGetParameters
method was not implemented. In order to avoid any regressions like this
in the future add logic to check that the AlgorithmParameters returned
are correct. Additionally make sure all the code paths that check this
are using the same method.
Add logic to check that OAEPParameterSpec instances are equivalent and
use that in this new test.
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: I3f5309f55f213c6b8ea551ac61d07893e0d0bfab
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions