commit | 2ac3f4de596bdeea397e25692b4a4f5a6c15426f | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Thu Jul 19 14:22:19 2012 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Thu Jul 19 14:25:09 2012 -0700 |
tree | 00380c34fefe7ab503eec33efe4f8430d8c54435 | |
parent | dfe203b9f580f238240d56b4878336594af9b2cc [diff] |
Address flakiness of doFinal and unwrap CipherTests The tests occasionally did not throw BadPaddingException when expected. This seems to be because in those cases the random generated keys were creating cipher text that appeared to be correctly PKCS#5 padded. In reproducing this in the doFinal case, this happened within a few hundred runs. Bug: 6301793 Change-Id: Ibd2d9bdd2fe88bccb20089ef653763849f45ff4c