Searched defs:modulus (Results 1 - 25 of 50) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRSAKeyParameters.java8 private BigInteger modulus; field in class:RSAKeyParameters
13 BigInteger modulus,
18 this.modulus = modulus;
24 return modulus;
11 RSAKeyParameters( boolean isPrivate, BigInteger modulus, BigInteger exponent) argument
H A DRSAPrivateCrtKeyParameters.java19 BigInteger modulus,
28 super(true, modulus, privateExponent);
18 RSAPrivateCrtKeyParameters( BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DRSAPublicKey.java17 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
43 RSAPublicKey( BigInteger modulus, BigInteger publicExponent) argument
H A DRSAPrivateKey.java18 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
51 RSAPrivateKey( BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger prime1, BigInteger prime2, BigInteger exponent1, BigInteger exponent2, BigInteger coefficient) argument
H A DRSAPrivateKeyStructure.java21 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
53 RSAPrivateKeyStructure( BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger prime1, BigInteger prime2, BigInteger exponent1, BigInteger exponent2, BigInteger coefficient) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DRSAPublicKeyStructure.java20 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
46 RSAPublicKeyStructure( BigInteger modulus, BigInteger publicExponent) argument
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_internal-modexp.c18 const u8 *modulus, size_t modulus_len,
35 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0)
16 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
H A Dcrypto_gnutls.c156 const u8 *modulus, size_t modulus_len,
167 gcry_mpi_scan(&bn_modulus, GCRYMPI_FMT_USG, modulus, modulus_len,
154 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
H A Dcrypto_nss.c172 const u8 *modulus, size_t modulus_len,
170 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_internal-modexp.c18 const u8 *modulus, size_t modulus_len,
35 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0)
16 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
H A Dcrypto_gnutls.c156 const u8 *modulus, size_t modulus_len,
167 gcry_mpi_scan(&bn_modulus, GCRYMPI_FMT_USG, modulus, modulus_len,
154 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
H A Dcrypto_nss.c172 const u8 *modulus, size_t modulus_len,
170 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_internal-modexp.c18 const u8 *modulus, size_t modulus_len,
35 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0)
16 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
H A Dcrypto_gnutls.c156 const u8 *modulus, size_t modulus_len,
167 gcry_mpi_scan(&bn_modulus, GCRYMPI_FMT_USG, modulus, modulus_len,
154 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCERSAPublicKey.java22 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);
H A DJCERSAPrivateKey.java28 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/libvpx/libvpx/vp9/decoder/
H A Dvp9_dsubexp.c30 static int merge_index(int v, int n, int modulus) { argument
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 /
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLRSAPublicKey.java35 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(),
H A DOpenSSLRSAPrivateKey.java36 protected BigInteger modulus; field in class:OpenSSLRSAPrivateKey
60 final BigInteger modulus = rsaKeySpec.getModulus();
63 if (modulus == null) {
64 throw new InvalidKeySpecException("modulus == null");
71 modulus.toByteArray(),
111 final BigInteger modulus = rsaPrivateKey.getModulus();
114 if (modulus == null) {
115 throw new InvalidKeyException("modulus == null");
122 modulus.toByteArray(),
145 throw new NullPointerException("modulus
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DBCRSAPrivateKey.java28 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;
H A DBCRSAPublicKey.java25 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);
/external/chromium_org/crypto/
H A Drsa_private_key.h49 // that will be parsed & serialized (modulus(), etc...) during Import(),
76 std::vector<uint8>* modulus() { return &modulus_; }; function in class:crypto::PrivateKeyInfoCodec
151 // The byte-significance of the stored components (modulus, etc..).
/external/openssl/apps/
H A Ddsa.c92 * -modulus - print the DSA public key
113 int modulus=0; local
186 else if (strcmp(*argv,"-modulus") == 0)
187 modulus=1;
234 BIO_printf(bio_err," -modulus print the DSA public value\n");
320 if (modulus)
H A Drsa.c92 * -modulus - print the RSA key modulus
116 int modulus=0; local
196 else if (strcmp(*argv,"-modulus") == 0)
197 modulus=1;
240 BIO_printf(bio_err," -modulus print the RSA key modulus\n");
333 if (modulus)
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dauto_enrollment_client_unittest.cc94 void ServerWillReply(int64 modulus, bool with_hashes, bool with_id_hash) { argument
98 if (modulus >= 0)
99 enrollment_response->set_expected_modulus(modulus);
188 EXPECT_EQ(16, auto_enrollment_request().modulus());
259 EXPECT_EQ(128, auto_enrollment_request().modulus());
305 EXPECT_EQ(1, auto_enrollment_request().modulus());
319 EXPECT_EQ(GG_INT64_C(1) << i, auto_enrollment_request().modulus());
478 // modulus request from the server.

Completed in 344 milliseconds

12