OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getQ
(Results
1 - 25
of
88
) sorted by null
1
2
3
4
/libcore/luni/src/main/java/java/security/interfaces/
DSAParams.java
46
public BigInteger
getQ
();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
ECPublicKey.java
16
public ECPoint
getQ
();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DSASigner.java
61
BigInteger m = calculateE(params.
getQ
(), message);
63
int qBitLength = params.
getQ
().bitLength();
69
while (k.compareTo(params.
getQ
()) >= 0);
71
BigInteger r = params.getG().modPow(k, params.getP()).mod(params.
getQ
());
73
k = k.modInverse(params.
getQ
()).multiply(
76
BigInteger s = k.mod(params.
getQ
());
97
BigInteger m = calculateE(params.
getQ
(), message);
100
if (zero.compareTo(r) >= 0 || params.
getQ
().compareTo(r) <= 0)
105
if (zero.compareTo(s) >= 0 || params.
getQ
().compareTo(s) <= 0)
110
BigInteger w = s.modInverse(params.
getQ
());
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
ECPublicKeyParameters.java
18
public ECPoint
getQ
()
DHParameters.java
117
public BigInteger
getQ
()
167
if (this.
getQ
() != null)
169
if (!this.
getQ
().equals(pm.
getQ
()))
176
if (pm.
getQ
() != null)
187
return getP().hashCode() ^ getG().hashCode() ^ (
getQ
() != null ?
getQ
().hashCode() : 0);
DSAParameters.java
42
public BigInteger
getQ
()
67
return (pm.getP().equals(p) && pm.
getQ
().equals(q) && pm.getG().equals(g));
72
return getP().hashCode() ^
getQ
().hashCode() ^ getG().hashCode();
RSAPrivateCrtKeyParameters.java
48
public BigInteger
getQ
()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
ECPublicKeySpec.java
31
public ECPoint
getQ
()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
BCDSAPrivateKey.java
50
this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.
getQ
(), spec.getG());
61
this.dsaSpec = new DSAParameterSpec(params.getP(), params.
getQ
(), params.getG());
68
this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().
getQ
(), params.getParameters().getG());
94
return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.
getQ
(), dsaSpec.getG()).toASN1Primitive()), new ASN1Integer(getX()));
120
&& this.getParams().
getQ
().equals(other.getParams().
getQ
());
126
^ this.getParams().getP().hashCode() ^ this.getParams().
getQ
().hashCode();
164
out.writeObject(dsaSpec.
getQ
());
BCDSAPublicKey.java
34
this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.
getQ
(), spec.getG());
48
this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().
getQ
(), params.getParameters().getG());
80
this.dsaSpec = new DSAParameterSpec(params.getP(), params.
getQ
(), params.getG());
106
return KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.
getQ
(), dsaSpec.getG()).toASN1Primitive()), new ASN1Integer(y));
133
^ this.getParams().getP().hashCode() ^ this.getParams().
getQ
().hashCode();
149
&& this.getParams().
getQ
().equals(other.getParams().
getQ
());
168
out.writeObject(dsaSpec.
getQ
());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JDKDSAPrivateKey.java
52
this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.
getQ
(), spec.getG());
63
this.dsaSpec = new DSAParameterSpec(params.getP(), params.
getQ
(), params.getG());
70
this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().
getQ
(), params.getParameters().getG());
98
PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.
getQ
(), dsaSpec.getG())), new DERInteger(getX()));
131
&& this.getParams().
getQ
().equals(other.getParams().
getQ
());
137
^ this.getParams().getP().hashCode() ^ this.getParams().
getQ
().hashCode();
175
out.writeObject(dsaSpec.
getQ
());
JDKDSAPublicKey.java
35
this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.
getQ
(), spec.getG());
49
this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().
getQ
(), params.getParameters().getG());
81
this.dsaSpec = new DSAParameterSpec(params.getP(), params.
getQ
(), params.getG());
109
return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.
getQ
(), dsaSpec.getG())), new DERInteger(y)).getEncoded(ASN1Encoding.DER);
141
^ this.getParams().getP().hashCode() ^ this.getParams().
getQ
().hashCode();
157
&& this.getParams().
getQ
().equals(other.getParams().
getQ
());
174
out.writeObject(dsaSpec.
getQ
());
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java
69
&& dsa1.getParams().
getQ
().equals(dsa2.getParams().
getQ
());
78
&& dsa1.getParams().
getQ
().equals(dsa2.getParams().
getQ
());
DSAParameterSpecTest.java
81
*
getQ
() test
89
assertEquals(2, dps.
getQ
().intValue());
/libcore/luni/src/main/java/java/security/spec/
DSAParameterSpec.java
74
public BigInteger
getQ
() {
DSAPrivateKeySpec.java
79
public BigInteger
getQ
() {
DSAPublicKeySpec.java
79
public BigInteger
getQ
() {
/libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java
70
&& dsa1.getParams().
getQ
().equals(dsa2.getParams().
getQ
());
79
&& dsa1.getParams().
getQ
().equals(dsa2.getParams().
getQ
());
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
DSAPublicKey.java
35
public BigInteger
getQ
()
DSASHA1Verify.java
52
tw.writeMPInt(pk.
getQ
());
144
BigInteger q = dpk.
getQ
();
194
int qBitLength = pk.
getQ
().bitLength();
200
while (k.compareTo(pk.
getQ
()) >= 0);
202
BigInteger r = pk.getG().modPow(k, pk.getP()).mod(pk.
getQ
());
204
k = k.modInverse(pk.
getQ
()).multiply(m.add((pk).getX().multiply(r)));
206
BigInteger s = k.mod(pk.
getQ
());
DSAPrivateKey.java
38
public BigInteger
getQ
()
/libcore/luni/src/test/java/tests/security/interfaces/
DSAKeyTest.java
53
assertEquals("Q differ", expected.
getQ
(), actual.
getQ
());
DSAParamsTest.java
50
* #
getQ
()
54
assertEquals("Invalid Q", q, params.
getQ
());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
ECDHBasicAgreement.java
45
ECPoint P = pub.
getQ
().multiply(key.getD());
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAKeyFactoryImpl.java
130
q = params.
getQ
();
153
q = params.
getQ
();
191
privateKey.getX(), params.getP(), params.
getQ
(),
206
.getY(), params.getP(), params.
getQ
(), params
Completed in 387 milliseconds
1
2
3
4