commit | abc0daa1e9f00a70302ec6f74c4bfdf92c92a609 | [log] [tgz] |
---|---|---|
author | Sergio Giro <sgiro@google.com> | Thu Mar 31 17:16:27 2016 +0100 |
committer | Sergio Giro <sgiro@google.com> | Tue Apr 05 14:33:21 2016 +0100 |
tree | 0bb76a174ee30de3227c78d9898c4c00a1710b19 | |
parent | 1688584e2c3a4e553ec0331d161dd329faabbf16 [diff] |
BaseBlockCipher: do not use PKCS12 for BCPBEKeys without IV Also, for such keys, do not create a random IV nor throw an exception when decrypting, just assume the IV is 0. (cherry picked from commit 6ba5cb51e71a3b359d6bc5815f3d378336a51cb6) Bug: 27224566 Bug: 27994930 Bug: 27995180 Change-Id: I57f0bdfc2b354a748dc6f78aaf01ed557732644d