summaryrefslogtreecommitdiffstats
path: root/tests/TransitionTests
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-07-20 09:01:34 -0700
committerAlex Klyubin <klyubin@google.com>2015-07-22 13:16:04 -0700
commit3ab1f04004c417397bfac8f061dc187b7b66109d (patch)
treea917f7df99f577caf3a2908a105e21561c141bf0 /tests/TransitionTests
parentada70be897fb7541129f1ab1f6faa94a80fca986 (diff)
downloadframeworks_base-3ab1f04004c417397bfac8f061dc187b7b66109d.zip
frameworks_base-3ab1f04004c417397bfac8f061dc187b7b66109d.tar.gz
frameworks_base-3ab1f04004c417397bfac8f061dc187b7b66109d.tar.bz2
Raw RSA Cipher relies on keymaster for padding and range checks.
This makes Android Keystore's RSA/ECB/NoPadding Cipher implementation rely on the underlying keystore/keymaster to left-pad the input (if necessary) and to reject invalid input. Prior to this change the Cipher implementation attempted to do it itself, but wasn't doing it right anyway. This fixes a regression where Android Keystore's raw RSA Cipher ("RSA/ECB/NoPadding") refused to encrypt plaintexts of the same length (in bytes) as RSA modulus which were nevertheless numerically smaller than the RSA modulus. Bug: 22599805 Change-Id: I591a8115a574eaf8f6075f29b50d93a87532c5eb
Diffstat (limited to 'tests/TransitionTests')
0 files changed, 0 insertions, 0 deletions