summaryrefslogtreecommitdiffstats
path: root/support/src
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2014-05-13 19:37:39 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 19:37:39 +0000
commit8f3ae282cb56de80de35b90408c9d832c8e3c424 (patch)
treefe03378cf3dbe9bc63e09033b2af86e530f92d03 /support/src
parentddb6061eb51e5a8fe841e6ae88999ad7581f568a (diff)
parent4cd96cc5ac73be05b2397d0b97c4c99bc07012ff (diff)
downloadlibcore-8f3ae282cb56de80de35b90408c9d832c8e3c424.zip
libcore-8f3ae282cb56de80de35b90408c9d832c8e3c424.tar.gz
libcore-8f3ae282cb56de80de35b90408c9d832c8e3c424.tar.bz2
am 4cd96cc5: am 5c6ea6f6: am c7743447: Merge "Enlarge the minimum key size of RSA to enhance the security"
* commit '4cd96cc5ac73be05b2397d0b97c4c99bc07012ff': Enlarge the minimum key size of RSA to enhance the security
Diffstat (limited to 'support/src')
-rw-r--r--support/src/test/java/libcore/java/security/StandardNames.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/src/test/java/libcore/java/security/StandardNames.java b/support/src/test/java/libcore/java/security/StandardNames.java
index da6fcd6..e37a788 100644
--- a/support/src/test/java/libcore/java/security/StandardNames.java
+++ b/support/src/test/java/libcore/java/security/StandardNames.java
@@ -897,7 +897,7 @@ public final class StandardNames extends Assert {
MINIMUM_KEY_SIZE = new HashMap<String, Integer>();
PRIVATE_KEY_SPEC_CLASSES.put("RSA", RSAPrivateCrtKeySpec.class);
PUBLIC_KEY_SPEC_CLASSES.put("RSA", RSAPublicKeySpec.class);
- MINIMUM_KEY_SIZE.put("RSA", 256);
+ MINIMUM_KEY_SIZE.put("RSA", 512);
PRIVATE_KEY_SPEC_CLASSES.put("DSA", DSAPrivateKeySpec.class);
PUBLIC_KEY_SPEC_CLASSES.put("DSA", DSAPublicKeySpec.class);
MINIMUM_KEY_SIZE.put("DSA", 512);