diff options
author | Adam Vartanian <flooey@google.com> | 2017-06-22 11:43:27 +0100 |
---|---|---|
committer | Adam Vartanian <flooey@google.com> | 2017-06-23 09:59:59 +0100 |
commit | f847cef7da2ab69e3564ed14634a6dd5c55fae9e (patch) | |
tree | 6d46fdb7602a955ee6708d3ff3402b37f06dc716 /include/ScopedJavaUnicodeString.h | |
parent | e7bf592921d00e5eb6e62641f8ff23fd66666198 (diff) |
Use decryption keys on decryption tests in CipherTest
Previously the test was using the encryption key for a decryption test,
which is just incorrect, and will fail when we start disallowing decryption
with public keys in RSA with OAEP.
Also factor the decryption key out into a variable to match how the
encryption key is handled.
Test: cts -m CtsLibcoreTestCases -t libcore.javax.crypto.CipherTest
Change-Id: I852ac1b45e8ed891ff35e81902cec6284c037e2e
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions