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
1 file changed