Hello,
We have modified OpenSSL source code such that size of RSA key should be at
least 512 bits or more to support higher quality key generation. The
following 2 test cases use 256 bits and failing on our device. The tests
will pass if we modify the test case to use 512 bits. Can we get waiver for
these 2 test cases failure?
Failed tests:
org.apache.harmony.security.tests.java.security.KeyFactory2Test:
-- test_generatePublicLjava_security_spec_KeySpec
-- test_translateKeyLjava_security_Key
CTS test code change to pass the tests:
diff --git
a/libcore/support/src/test/java/libcore/java/security/StandardName
s.java
b/libcore/support/src/test/java/libcore/java/security/StandardNames.java
[m
index e8b29e4..dc605cb 100644
--- a/libcore/support/src/test/java/libcore/java/security/StandardNames.java
[m
+++ b/libcore/support/src/test/java/libcore/java/security/StandardNames.java
[m
@@ -739,7 +739,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);
Thank you,
Chandrika
--
You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/groups/opt_out.