summaryrefslogtreecommitdiff
path: root/keystore/java/android/security/KeyStoreParameter.java
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-04-08 09:42:16 -0700
committerAlex Klyubin <klyubin@google.com>2015-04-08 09:46:16 -0700
commitd1ccb45945bc45fb5143553d1c59b7d5046b9f6d (patch)
treedcf49433900cf15feb004954a50297278b2675ef /keystore/java/android/security/KeyStoreParameter.java
parent558184f52fa7822a0bde230a93e552f137ac91a4 (diff)
Refuse to reuse IV in encryption mode in AndroidKeyStore.
This makes IV-using Cipher implementations backed by AndroidKeyStore refuse to be reused. After Cipher.doFinal completes, invoking update or doFinal will raise an exception. This is to make it harder to violate the security best practice of not reusing IV in encryption mode. Bug: 18088752 Change-Id: I5102f9e8b2ff428254294703e48948ea8576603d
Diffstat (limited to 'keystore/java/android/security/KeyStoreParameter.java')
0 files changed, 0 insertions, 0 deletions