commit | 5c38e7918aea36ee8f516793d5641b05a8de710e | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Tue Jul 07 15:39:10 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Tue Jul 07 15:39:10 2015 -0700 |
tree | 155a7595bf30947878248930c949b41bf391f22b | |
parent | 46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba [diff] |
Reject AlgorithmParameters of wrong type. This makes Android Keystore Cipher implementations reject rather than ignore AlgorithmParameters of wrong algorithm type. The danger in not doing so is that a Cipher will produce output that does not actually depend on the provided AlgorithmParameters. Bug: 22330716 Change-Id: Ifa9de2c74f2fe4b738a3731c895059dddd075a13