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

1 2 3 4 5 6 7 8 91011>>

  /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);
  /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
  /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;
  /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/gemmlowp/test/
test_math_helpers.cc 34 template <int Modulus>
36 Check(x >= RoundDown<Modulus>(x));
37 Check(x < RoundDown<Modulus>(x) + Modulus);
38 Check(RoundDown<Modulus>(x) % Modulus == 0);
40 Check(x <= RoundUp<Modulus>(x));
41 Check(x > RoundUp<Modulus>(x) - Modulus);
42 Check(RoundUp<Modulus>(x) % Modulus == 0)
    [all...]
  /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
  /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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
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);
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);
  /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);
  /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);
  /cts/tests/tests/keystore/src/android/keystore/cts/
RSACipherTest.java 51 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
52 int modulusSizeBytes = (modulus.bitLength() + 7) / 8;
84 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
86 // Plaintext is one smaller than the modulus
88 TestUtils.getBigIntegerMagnitudeBytes(modulus.subtract(BigInteger.ONE));
111 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
113 // Plaintext is exactly the modulus
114 byte[] plaintext = TestUtils.getBigIntegerMagnitudeBytes(modulus);
139 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
141 // Plaintext is one larger than the modulus
169 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
201 BigInteger modulus = ((RSAKey) privateKey).getModulus(); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 27 private BigInteger modulus; field in class:BCRSAPublicKey
35 this.modulus = key.getModulus();
43 this.modulus = spec.getModulus();
51 this.modulus = key.getModulus();
68 this.modulus = pubKey.getModulus();
78 * return the modulus.
80 * @return the modulus.
84 return modulus;
141 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
asn1.py 28 modulus INTEGER, -- n
33 namedtype.NamedType('modulus', univ.Integer()),
  /external/tpm2/
RSAKeySieve_fp.h 11 TPM2B *n, // OUT: The public modulus
13 UINT16 keySizeInBits, // IN: Size of the public modulus in bits
  /prebuilts/go/darwin-x86/src/math/cmplx/
abs.go 11 // Abs returns the absolute value (also called the modulus) of x.
  /prebuilts/go/linux-x86/src/math/cmplx/
abs.go 11 // Abs returns the absolute value (also called the modulus) of x.
  /libcore/ojluni/src/main/java/sun/security/ssl/
DHCrypt.java 46 * called the shared secret. It has the same length as the modulus, e.g. 512
59 * . if we are client, call DHCrypt(modulus, base, random). This
80 // group parameters (prime modulus and generator)
81 private BigInteger modulus; // P (aka N) field in class:DHCrypt
107 modulus = spec.getP();
118 * @param modulus the Diffie-Hellman modulus P
121 DHCrypt(BigInteger modulus, BigInteger base, SecureRandom random) {
122 this.modulus = modulus;
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/spec/
DHPrivateKeySpec.java 48 // The prime modulus
56 * modulus <code>p</code>, and a base generator <code>g</code>.
58 * @param p prime modulus p
77 * Returns the prime modulus <code>p</code>.
79 * @return the prime modulus <code>p</code>
DHPublicKeySpec.java 48 // The prime modulus
56 * modulus <code>p</code>, and a base generator <code>g</code>.
58 * @param p prime modulus p
77 * Returns the prime modulus <code>p</code>.
79 * @return the prime modulus <code>p</code>

Completed in 412 milliseconds

1 2 3 4 5 6 7 8 91011>>