Home
last modified time | relevance | path

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

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAKeyPairGenerator.java47 private int modulusBits = 2048; field in OpenSSLRSAKeyPairGenerator
51 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.RSA_generate_key_ex(modulusBits, in generateKeyPair()
62 this.modulusBits = keysize; in initialize()
79 this.modulusBits = spec.getKeysize(); in initialize()
DNativeCrypto.java96 static native long RSA_generate_key_ex(int modulusBits, byte[] publicExponent); in RSA_generate_key_ex() argument
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp1253 static jlong NativeCrypto_RSA_generate_key_ex(JNIEnv* env, jclass, jint modulusBits, in NativeCrypto_RSA_generate_key_ex() argument
1255 JNI_TRACE("RSA_generate_key_ex(%d, %p)", modulusBits, publicExponent); in NativeCrypto_RSA_generate_key_ex()
1269 if (RSA_generate_key_ex(rsa.get(), modulusBits, e.get(), nullptr) < 0) { in NativeCrypto_RSA_generate_key_ex()
1286 JNI_TRACE("RSA_generate_key_ex(n=%d, e=%p) => %p", modulusBits, publicExponent, pkey.get()); in NativeCrypto_RSA_generate_key_ex()