commit | f847cef7da2ab69e3564ed14634a6dd5c55fae9e | [log] [tgz] |
---|---|---|
author | Adam Vartanian <flooey@google.com> | Thu Jun 22 11:43:27 2017 +0100 |
committer | Adam Vartanian <flooey@google.com> | Fri Jun 23 09:59:59 2017 +0100 |
tree | 6d46fdb7602a955ee6708d3ff3402b37f06dc716 | |
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