HomeSort by relevance Sort by last modified time
    Searched refs:modulus (Results 1 - 25 of 221) sorted by null

1 2 3 4 5 6 7 8 9

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
RSAKeyParameters.java 8 private BigInteger modulus; field in class:RSAKeyParameters
13 BigInteger modulus,
18 this.modulus = modulus;
24 return modulus;
RSAPrivateCrtKeyParameters.java 19 BigInteger modulus,
28 super(true, modulus, privateExponent);
  /libcore/ojluni/src/main/java/java/security/spec/
RSAPrivateKeySpec.java 46 private BigInteger modulus; field in class:RSAPrivateKeySpec
52 * @param modulus the modulus
55 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) {
56 this.modulus = modulus;
61 * Returns the modulus.
63 * @return the modulus
66 return this.modulus;
RSAPublicKeySpec.java 46 private BigInteger modulus; field in class:RSAPublicKeySpec
52 * @param modulus the modulus
55 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) {
56 this.modulus = modulus;
61 * Returns the modulus.
63 * @return the modulus
66 return this.modulus;
RSAPrivateCrtKeySpec.java 59 * given the modulus, publicExponent, privateExponent,
63 * @param modulus the modulus n
73 public RSAPrivateCrtKeySpec(BigInteger modulus,
81 super(modulus, privateExponent);
RSAMultiPrimePrivateCrtKeySpec.java 61 * given the modulus, publicExponent, privateExponent,
69 * @param modulus the modulus n.
81 * <code>modulus</code>,
89 public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus,
98 super(modulus, privateExponent);
99 if (modulus == null) {
100 throw new NullPointerException("the modulus parameter must be " +
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
vp9_dsubexp.c 30 static int merge_index(int v, int n, int modulus) {
31 int max1 = (n - 1 - modulus / 2) / modulus + 1;
33 v = v * modulus + modulus / 2;
38 v += (v + modulus - modulus / 2) / modulus;
39 while (v % modulus == modulus / 2 |
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/arithmetic.operations/
modulus.pass.cpp 12 // modulus
20 typedef std::modulus<int> F;
25 typedef std::modulus<> F2;
31 constexpr int foo = std::modulus<int> () (3, 2);
34 constexpr int bar = std::modulus<> () (3L, 2);
transparent.pass.cpp 48 static_assert ( !is_transparent<std::modulus<int>>::value, "" );
49 static_assert ( !is_transparent<std::modulus<std::string>>::value, "" );
50 static_assert ( is_transparent<std::modulus<void>>::value, "" );
51 static_assert ( is_transparent<std::modulus<>>::value, "" );
  /external/libcxx/test/std/utilities/function.objects/arithmetic.operations/
modulus.pass.cpp 12 // modulus
20 typedef std::modulus<int> F;
27 typedef std::modulus<> F2;
33 constexpr int foo = std::modulus<int> () (3, 2);
36 constexpr int bar = std::modulus<> () (3L, 2);
transparent.pass.cpp 48 static_assert ( !is_transparent<std::modulus<int>>::value, "" );
49 static_assert ( !is_transparent<std::modulus<std::string>>::value, "" );
50 static_assert ( is_transparent<std::modulus<void>>::value, "" );
51 static_assert ( is_transparent<std::modulus<>>::value, "" );
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreRSAPrivateKey.java 32 public AndroidKeyStoreRSAPrivateKey(String alias, int uid, BigInteger modulus) {
34 mModulus = modulus;
AndroidKeyStoreRSAPublicKey.java 31 public AndroidKeyStoreRSAPublicKey(String alias, int uid, byte[] x509EncodedForm, BigInteger modulus,
34 mModulus = modulus;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPublicKey.java 17 private BigInteger modulus; field in class:RSAPublicKey
44 BigInteger modulus,
47 this.modulus = modulus;
62 modulus = ASN1Integer.getInstance(e.nextElement()).getPositiveValue();
68 return modulus;
80 * modulus INTEGER, -- n
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
RSAPublicKeyStructure.java 20 private BigInteger modulus; field in class:RSAPublicKeyStructure
47 BigInteger modulus,
50 this.modulus = modulus;
65 modulus = ASN1Integer.getInstance(e.nextElement()).getPositiveValue();
71 return modulus;
83 * modulus INTEGER, -- n
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAPrivateKey.java 39 protected BigInteger modulus; field in class:OpenSSLRSAPrivateKey
63 final BigInteger modulus = rsaKeySpec.getModulus(); local
66 if (modulus == null) {
67 throw new InvalidKeySpecException("modulus == null");
74 modulus.toByteArray(),
112 BigInteger modulus = null; local
114 modulus = ((RSAKey) privateKey).getModulus();
116 modulus = ((RSAKey) publicKey).getModulus();
118 if (modulus == null) {
119 throw new InvalidKeyException("RSA modulus not available. Private: " + privateKe
135 final BigInteger modulus = rsaPrivateKey.getModulus(); local
    [all...]
OpenSSLRSAPublicKey.java 35 private BigInteger modulus; field in class:OpenSSLRSAPublicKey
101 modulus = new BigInteger(params[0]);
110 return modulus;
144 return modulus.equals(other.getModulus())
152 return modulus.hashCode() ^ publicExponent.hashCode();
160 sb.append("modulus=");
161 sb.append(modulus.toString(16));
174 modulus.toByteArray(),
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPrivateKey.java 28 protected BigInteger modulus; field in class:JCERSAPrivateKey
40 this.modulus = key.getModulus();
47 this.modulus = spec.getModulus();
54 this.modulus = key.getModulus();
60 return modulus;
128 this.modulus = (BigInteger)in.readObject();
140 out.writeObject(modulus);
JCERSAPublicKey.java 21 private BigInteger modulus; field in class:JCERSAPublicKey
27 this.modulus = key.getModulus();
34 this.modulus = spec.getModulus();
41 this.modulus = key.getModulus();
52 this.modulus = pubKey.getModulus();
62 * return the modulus.
64 * @return the modulus.
68 return modulus;
125 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
  /external/pdfium/xfa/src/fxbarcode/pdf417/
BC_PDF417ECModulusGF.cpp 35 CBC_PDF417ECModulusGF::CBC_PDF417ECModulusGF(int32_t modulus,
38 m_modulus = modulus;
39 m_expTable.SetSize(modulus);
40 m_logTable.SetSize(modulus);
42 for (int32_t i = 0; i < modulus; i++) {
44 x = (x * generator) % modulus;
46 for (int32_t j = 0; j < modulus - 1; j++) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerModPowTest.java 32 * modPow: non-positive modulus
43 BigInteger modulus = new BigInteger(mSign, mBytes); local
45 aNumber.modPow(exp, modulus);
71 BigInteger modulus = new BigInteger(mSign, mBytes); local
72 BigInteger result = aNumber.modPow(exp, modulus);
94 BigInteger modulus = new BigInteger(mSign, mBytes); local
95 BigInteger result = aNumber.modPow(exp, modulus);
128 * modInverse: non-positive modulus
136 BigInteger modulus = new BigInteger(mSign, mBytes); local
138 aNumber.modInverse(modulus);
153 BigInteger modulus = new BigInteger(mSign, mBytes); local
171 BigInteger modulus = new BigInteger(mSign, mBytes); local
191 BigInteger modulus = new BigInteger(mSign, mBytes); local
211 BigInteger modulus = new BigInteger(mSign, mBytes); local
229 BigInteger modulus = new BigInteger(mBytes); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPrivateKey.java 28 protected BigInteger modulus; field in class:BCRSAPrivateKey
40 this.modulus = key.getModulus();
47 this.modulus = spec.getModulus();
54 this.modulus = key.getModulus();
60 this.modulus = key.getModulus();
66 return modulus;
  /external/wpa_supplicant_8/src/crypto/
crypto_internal-modexp.c 18 const u8 *modulus, size_t modulus_len,
35 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0)
  /ndk/tests/device/test-gnustl-full/unit/
modulus_test.cpp 35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>());
  /ndk/tests/device/test-stlport/unit/
modulus_test.cpp 35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>());

Completed in 1496 milliseconds

1 2 3 4 5 6 7 8 9