Home
last modified time | relevance | path

Searched refs:getQ (Results 1 – 25 of 54) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHParameters.java116 public BigInteger getQ() in getQ() method in DHParameters
166 if (this.getQ() != null) in equals()
168 if (!this.getQ().equals(pm.getQ())) in equals()
175 if (pm.getQ() != null) in equals()
186 return getP().hashCode() ^ getG().hashCode() ^ (getQ() != null ? getQ().hashCode() : 0); in hashCode()
DDSAParameters.java42 public BigInteger getQ() in getQ() method in DSAParameters
67 return (pm.getP().equals(p) && pm.getQ().equals(q) && pm.getG().equals(g)); in equals()
72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode(); in hashCode()
DDHPublicKeyParameters.java35 if (dhParams.getQ() != null) in validate()
37 if (ONE.equals(y.modPow(dhParams.getQ(), dhParams.getP()))) in validate()
DECPublicKeyParameters.java41 public ECPoint getQ() in getQ() method in ECPublicKeyParameters
DDSAPublicKeyParameters.java27 && ONE.equals(y.modPow(params.getQ(), params.getP()))) in validate()
DRSAPrivateCrtKeyParameters.java48 public BigInteger getQ() in getQ() method in RSAPrivateCrtKeyParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPrivateKey()
68 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in JDKDSAPrivateKey()
96 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()))… in getEncoded()
129 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
135 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
173 out.writeObject(dsaSpec.getQ()); in writeObject()
DJDKDSAPublicKey.java35 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPublicKey()
49 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in JDKDSAPublicKey()
81 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPublicKey()
109 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()))… in getEncoded()
141 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
157 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
174 out.writeObject(dsaSpec.getQ()); in writeObject()
DJCEECPublicKey.java89 this.q = spec.getQ(); in JCEECPublicKey()
118 this.q = params.getQ(); in JCEECPublicKey()
140 this.q = params.getQ(); in JCEECPublicKey()
164 this.q = params.getQ(); in JCEECPublicKey()
411 …new X9ECPoint(curve.createPoint(this.getQ().getAffineXCoord().toBigInteger(), this.getQ().getAffin… in getEncoded()
455 public org.bouncycastle.math.ec.ECPoint getQ() in getQ() method in JCEECPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPrivateKey()
68 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in BCDSAPrivateKey()
94 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).… in getEncoded()
120 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
126 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
164 out.writeObject(dsaSpec.getQ()); in writeObject()
DBCDSAPublicKey.java38 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPublicKey()
56 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in BCDSAPublicKey()
85 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPublicKey()
122 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).… in getEncoded()
151 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
175 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
214 out.writeObject(dsaSpec.getQ()); in writeObject()
DAlgorithmParametersSpi.java45 … DSAParameter dsaP = new DSAParameter(currentSpec.getP(), currentSpec.getQ(), currentSpec.getG()); in engineGetEncoded()
100 currentSpec = new DSAParameterSpec(dsaP.getP(), dsaP.getQ(), dsaP.getG()); in engineInit()
DDSAUtil.java53 return new DSAParameters(spec.getP(), spec.getQ(), spec.getG()); in toDSAParameters()
96 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePrivateKeyParameter()
DKeyFactorySpi.java36 …return new DSAPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getQ(), k.getParams().ge… in engineGetKeySpec()
42 …return new DSAPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getQ(), k.getParams().g… in engineGetKeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DBCECPublicKey.java82 spec.getQ(), ECUtil.getDomainParameters(configuration, spec.getParams())); in BCECPublicKey()
89 …CPublicKeyParameters(s.getCurve().createPoint(spec.getQ().getAffineXCoord().toBigInteger(), spec.g… in BCECPublicKey()
241 …ASN1OctetString p = ASN1OctetString.getInstance(new X9ECPoint(ecPublicKey.getQ(), withCompression)… in getEncoded()
266 org.bouncycastle.math.ec.ECPoint q = ecPublicKey.getQ(); in getW()
271 public org.bouncycastle.math.ec.ECPoint getQ() in getQ() method in BCECPublicKey
273 org.bouncycastle.math.ec.ECPoint q = ecPublicKey.getQ(); in getQ()
302 org.bouncycastle.math.ec.ECPoint q = ecPublicKey.getQ(); in toString()
326 …return ecPublicKey.getQ().equals(other.ecPublicKey.getQ()) && (engineGetSpec().equals(other.engine… in equals()
331 return ecPublicKey.getQ().hashCode() ^ engineGetSpec().hashCode(); in hashCode()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDsaTest.java107 privateKey1.getQ(),
755 BigInteger q = priv.getParams().getQ(); in extractK()
826 System.out.println("q:" + params.getQ().toString()); in testBasic()
853 int qsize = params.getQ().bitLength(); in testKeyGeneration()
989 BigInteger q = priv.getParams().getQ(); in testBiasSha1WithDSA()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DQRDecomposition.java53 RealMatrix getQ(); in getQ() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPublicKey.java16 public ECPoint getQ(); in getQ() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java83 BigInteger q = params.getQ(); in generateSignature()
119 BigInteger q = params.getQ(); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
DECPublicKeySpec.java38 public ECPoint getQ() in getQ() method in ECPublicKeySpec
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java107 BigInteger q = dhParams.getQ(); in createKey()
160 parameters = new DSAParameters(params.getP(), params.getQ(), params.getG()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java114 …PublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), params.getQ(), params.getJ(), in BCDHPublicKey()
119 …licKeyParameters(y, new DHParameters(params.getP(), params.getG(), params.getQ(), params.getJ(), n… in BCDHPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DECDHBasicAgreement.java48 ECPoint peerPoint = ((ECPublicKeyParameters) pubKey).getQ(); in calculateAgreement()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHKeyGeneratorHelper.java45 BigInteger q = dhParams.getQ(); in calculatePrivate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP521R1Curve.java51 public BigInteger getQ() in getQ() method in SecP521R1Curve

123