OSDN Git Service

Remove IV auto-generation workaround.
authorAlex Klyubin <klyubin@google.com>
Thu, 16 Apr 2015 00:20:23 +0000 (17:20 -0700)
committerAlex Klyubin <klyubin@google.com>
Thu, 16 Apr 2015 00:20:23 +0000 (17:20 -0700)
commita0d2dddc557326028169dac732eca0657de9cc4d
tree591565ec6b84ef1a22f924ac8d6f184d643f58b3
parent7f72f74766fed73ae9816fec6031a199f70d1428
Remove IV auto-generation workaround.

This workaround prevents use of keys with randomized encryption
(IND-CPA). Since randomized encryption is on by default, it's better
to keep it working and break non-randomized encryption (until
Keymaster is fixed).

Bug: 18088752
Change-Id: I4b11ce72cff705be41d3e66f28b507d6ddc1da79
keystore/java/android/security/KeyStoreCipherSpi.java