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

1 2 3 4 5 6 7 8

  /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/luni/src/main/java/java/security/spec/
RSAPrivateKeySpec.java 30 // Modulus
31 private final BigInteger modulus; field in class:RSAPrivateKeySpec
36 * Creates a new {@code RSAPrivateKeySpec} with the specified modulus and
39 * @param modulus
40 * the modulus {@code n}.
44 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) {
45 this.modulus = modulus;
50 * Returns the modulus {@code n}.
52 * @return the modulus {@code n}
    [all...]
RSAPublicKeySpec.java 30 // Modulus
31 private final BigInteger modulus; field in class:RSAPublicKeySpec
36 * Creates a new {@code RSAPublicKeySpec} with the specified modulus and
39 * @param modulus
40 * the modulus {@code n}.
44 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) {
45 this.modulus = modulus;
50 * Returns the modulus {@code n}.
52 * @return the modulus {@code n}
    [all...]
RSAPrivateCrtKeySpec.java 46 * modulus, public exponent, private exponent, prime factors, prime
49 * @param modulus
50 * the modulus {@code n}.
66 public RSAPrivateCrtKeySpec(BigInteger modulus,
75 super(modulus, privateExponent);
  /external/libvpx/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...]
  /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...]
  /external/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, "" );
  /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/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
RSAPrivateKey.java 18 private BigInteger modulus; field in class:RSAPrivateKey
52 BigInteger modulus,
62 this.modulus = modulus;
84 modulus = ((ASN1Integer)e.nextElement()).getValue();
106 return modulus;
149 * modulus INTEGER, -- n
RSAPrivateKeyStructure.java 21 private BigInteger modulus; field in class:RSAPrivateKeyStructure
54 BigInteger modulus,
64 this.modulus = modulus;
86 modulus = ((ASN1Integer)e.nextElement()).getValue();
108 return modulus;
151 * 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/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 22 private BigInteger modulus; field in class:JCERSAPublicKey
28 this.modulus = key.getModulus();
35 this.modulus = spec.getModulus();
42 this.modulus = key.getModulus();
53 this.modulus = pubKey.getModulus();
63 * return the modulus.
65 * @return the modulus.
69 return modulus;
126 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
  /external/conscrypt/src/main/java/org/conscrypt/
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(),
OpenSSLRSAPrivateKey.java 36 protected BigInteger modulus; field in class:OpenSSLRSAPrivateKey
60 final BigInteger modulus = rsaKeySpec.getModulus(); local
63 if (modulus == null) {
64 throw new InvalidKeySpecException("modulus == null");
71 modulus.toByteArray(),
111 final BigInteger modulus = rsaPrivateKey.getModulus(); local
114 if (modulus == null) {
115 throw new InvalidKeyException("modulus == null");
122 modulus.toByteArray(),
145 throw new NullPointerException("modulus == null")
    [all...]
  /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/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)
  /external/stlport/test/unit/
modulus_test.cpp 35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>());
  /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>());
  /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 return modulus;

Completed in 559 milliseconds

1 2 3 4 5 6 7 8