commit | 281be77953d7827e31fc5aa0e1c29a06063f237f | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Thu Jul 26 12:21:51 2012 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Fri Jul 27 13:34:43 2012 -0700 |
tree | f7191d53ff2dabad13cf1154605964502a4ca97d | |
parent | 02e0e9bce2706f0024e6f51275e2834dfacdb570 [diff] |
Fix even more CipherTest flakiness due to implicit random IV values When Cipher.init is not passed AlgorithmParameters, it will implicitly generate what it needs, leading to random values that occasionally caused BadPaddingException not to be thrown when expected. Disable that behavior by explictly passing in the static IV value. Bug: 6354967 (cherry-picked from 3441ddaa2ce320360292702dd63dad052cb6999d) Change-Id: I38d3be7260fd28ffd47f49cb06f68d68c9c20e9f