summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2019-05-23 12:01:59 -0600
committerShawn Willden <swillden@google.com>2019-05-24 09:39:50 -0600
commitd8283a81f3bc427f84f0d54816d275f8ebeb2ce5 (patch)
treee1c454c1f3388d7985cc4bd4eae389fa410a717d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3d8f95a4382b980da3fc8d7c6bbe68ae53ec1cc0 (diff)
Fix encryption/decryption of large blocks.
There's a long-standing bug (since ~Marshmallow) that causes AndroidKeyStore to truncate large (>64 KiB) blocks of data. This can be avoided by callers by processing data in smaller chunks, and smaller chunks are more memory-efficient while not being much (if any) more time-efficient. But, Keystore should handle large blocks correctly. This CL adds a test to all block cipher tests that attempts to encrypt and then decrypt a 100 KiB block. Bug: 123391046 Test: CtsKeystoreTestCases Change-Id: I0c0286fd5360d4fe62cbd8130aa0c17f97318801
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions