diff options
author | Alex Klyubin <klyubin@google.com> | 2015-06-12 12:16:45 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2015-06-12 12:22:58 -0700 |
commit | 7c475cc7c3f1159d5a8115382deb5332aca76144 (patch) | |
tree | bd9472c76d5cf03320482e03b69f31e74c5d5a90 /rs/java/android/renderscript/ScriptIntrinsicBLAS.java | |
parent | 738241f93c066a2ef233dd0e12661bf808bfd915 (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