Commit 743c1704 authored by Kenny Root's avatar Kenny Root
Browse files

CipherTest: add tests for RSA OAEP with labels

The OAEP spec allows you to specify a label L for indicating what the
key should be used for, etc. This is represented here as a
PSource.PSpecified instance. Add a couple tests for these to make sure
they're functioning correctly.

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: I440c55cdbbe6c59b4a41d538cc4b81f186450917
parent 9d662376
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment