commit | 65832e311cb5fda062d79599b149232b47294fea | [log] [tgz] |
---|---|---|
author | Adam Vartanian <flooey@google.com> | Mon May 22 15:37:27 2017 +0100 |
committer | Adam Vartanian <flooey@google.com> | Mon May 22 15:47:22 2017 +0100 |
tree | dc840cc90ea0d3c91ce0f3b0976008f8d0995dc4 | |
parent | e984dbf63708351e1de1f6613d33befe91ad4dc1 [diff] |
Don't use algorithm parameters if missing salt or iteration count. The PBEKeySpec constructor doesn't allow an empty salt or iteration count, and throws an exception if it sees one. Bug: 38161557 Test: cts -m CtsLibcoreTestCases Change-Id: Ib03360275e3a820efddc8de472dd4044070fdaba