Searched refs:modulusBits (Results 1 - 3 of 3) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLRSAKeyPairGenerator.java40 private int modulusBits = 2048; field in class:OpenSSLRSAKeyPairGenerator
44 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.RSA_generate_key_ex(modulusBits,
55 this.modulusBits = keysize;
72 this.modulusBits = spec.getKeysize();
H A DNativeCrypto.java124 public static native long RSA_generate_key_ex(int modulusBits, byte[] publicExponent); argument
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp2655 * public static native int RSA_generate_key(int modulusBits, byte[] publicExponent);
2657 static jlong NativeCrypto_RSA_generate_key_ex(JNIEnv* env, jclass, jint modulusBits, argument
2659 JNI_TRACE("RSA_generate_key_ex(%d, %p)", modulusBits, publicExponent);
2673 if (RSA_generate_key_ex(rsa.get(), modulusBits, e.get(), NULL) < 0) {
2690 JNI_TRACE("RSA_generate_key_ex(n=%d, e=%p) => %p", modulusBits, publicExponent, pkey.get());

Completed in 133 milliseconds