summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2014-05-13 19:32:45 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 19:32:45 +0000
commit4cd96cc5ac73be05b2397d0b97c4c99bc07012ff (patch)
treead570d1ad9fcc8fb3c78f39d9924af705f8ff8ea
parent100e8709eff57f7803a6337d278a5c3b2cf12bb4 (diff)
parent5c6ea6f61facd19fdcc2372b710fb8fb23905032 (diff)
downloadlibcore-4cd96cc5ac73be05b2397d0b97c4c99bc07012ff.zip
libcore-4cd96cc5ac73be05b2397d0b97c4c99bc07012ff.tar.gz
libcore-4cd96cc5ac73be05b2397d0b97c4c99bc07012ff.tar.bz2
am 5c6ea6f6: am c7743447: Merge "Enlarge the minimum key size of RSA to enhance the security"
* commit '5c6ea6f61facd19fdcc2372b710fb8fb23905032': Enlarge the minimum key size of RSA to enhance the security
-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);