/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPublicKey.java | 25 private BigInteger modulus; field in class:BCRSAPublicKey 33 this.modulus = key.getModulus(); 41 this.modulus = spec.getModulus(); 49 this.modulus = key.getModulus(); 66 this.modulus = pubKey.getModulus(); 76 * return the modulus. 78 * @return the modulus. 82 return modulus; 139 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
|
BCRSAPrivateCrtKey.java | 58 this.modulus = spec.getModulus(); 76 this.modulus = key.getModulus(); 102 this.modulus = key.getModulus(); 230 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
|
/libcore/luni/src/main/java/java/security/spec/ |
RSAMultiPrimePrivateCrtKeySpec.java | 48 * modulus, public exponent, private exponent, prime factors, prime 51 * @param modulus 52 * the modulus {@code n}. 74 BigInteger modulus, 84 super(modulus, privateExponent); 87 if (modulus == null) { 88 throw new NullPointerException("modulus == null");
|
/external/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/ |
values.pass.cpp | 19 // static constexpr result_type modulus = m; 39 static_assert((LCE::modulus == m), ""); 45 where(LCE::modulus);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/ |
values.pass.cpp | 19 // static constexpr result_type modulus = m; 39 static_assert((LCE::modulus == m), ""); 45 where(LCE::modulus);
|
/external/chromium_org/net/android/ |
keystore.h | 35 // Returns the modulus of a given RSAPrivateKey platform object, 40 // |modulus| will receive the modulus bytes on success. 44 std::vector<uint8>* modulus);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
cryptomath.py | 202 def powMod(base, power, modulus): 205 modulus = gmpy.mpz(modulus) 206 result = pow(base, power, modulus) 210 def powMod(base, power, modulus): 212 result = pow(base, power*-1, modulus) 213 result = invMod(result, modulus) 216 return pow(base, power, modulus)
|
/external/libcxx/test/utilities/function.objects/arithmetic.operations/ |
Android.mk | 31 test_name := utilities/function.objects/arithmetic.operations/modulus 32 test_src := modulus.pass.cpp
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRSAPrivateCrtKey.java | 58 BigInteger modulus = rsaKeySpec.getModulus(); local 61 if (modulus == null) { 62 throw new InvalidKeySpecException("modulus == null"); 69 * OpenSSL uses the public modulus to do RSA blinding. If 70 * the public modulus is not available, the call to 82 modulus.toByteArray(), 104 BigInteger modulus = rsaPrivateKey.getModulus(); local 107 if (modulus == null) { 108 throw new InvalidKeyException("modulus == null"); 115 * OpenSSL uses the public modulus to do RSA blinding. I [all...] |
OpenSSLRSAKeyFactory.java | 181 BigInteger modulus = rsaKey.getModulus(); local 191 return engineGeneratePrivate(new RSAPrivateCrtKeySpec(modulus, publicExponent, 199 BigInteger modulus = rsaKey.getModulus(); local 203 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64Encoder.java | 62 int modulus = length % 3; local 63 int dataLength = (length - modulus); 84 switch (modulus) 113 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4);
|