summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsicBLAS.java
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-06-12 12:16:45 -0700
committerAlex Klyubin <klyubin@google.com>2015-06-12 12:22:58 -0700
commit7c475cc7c3f1159d5a8115382deb5332aca76144 (patch)
treebd9472c76d5cf03320482e03b69f31e74c5d5a90 /rs/java/android/renderscript/ScriptIntrinsicBLAS.java
parent738241f93c066a2ef233dd0e12661bf808bfd915 (diff)
Fix Android Keystore KeyPairGenerator for RSA PSS keys.
This fixes a bug where key pair generation fails for RSA signing keys which are not authorized for PKCS#1 signature padding, such as keys authorized only for the RSA PSS signature padding scheme. The issue was that the KeyPairGenerator was failing when attempting to sign the self-signed certificate (needed by Android Keystore) using PKCS#1 padding for which such keys are not authorized. The solution is to not attempt to sign these certificates and instead use a fake signature. Bug: 21809600 Change-Id: I4f04fcf78174937046d2534e0485c6940eae673f
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicBLAS.java')
0 files changed, 0 insertions, 0 deletions