/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | BCDHPublicKey.java | 42 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in BCDHPublicKey() 43 this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG())); in BCDHPublicKey() 51 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey() 58 …new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), params.getParame… in BCDHPublicKey() 68 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey() 98 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in BCDHPublicKey() 102 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey() 104 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey() 110 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey() 114 …Key = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), params.getQ(), p… in BCDHPublicKey() [all …]
|
D | BCDHPrivateKey.java | 57 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in BCDHPrivateKey() 77 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in BCDHPrivateKey() 81 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPrivateKey() 88 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPrivateKey() 100 …new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), params.getParame… in BCDHPrivateKey() 133 …CSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).t… in getEncoded() 164 && this.getParams().getG().equals(other.getParams().getG()) in equals() 171 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 211 out.writeObject(dhSpec.getG()); in writeObject()
|
D | KeyAgreementSpi.java | 104 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase() 193 this.g = p.getG(); in engineInit() 198 this.g = privKey.getParams().getG(); in engineInit() 209 this.g = privKey.getParams().getG(); in engineInit() 228 this.g = privKey.getParams().getG(); in engineInit()
|
D | AlgorithmParametersSpi.java | 49 … DHParameter dhP = new DHParameter(currentSpec.getP(), currentSpec.getG(), currentSpec.getL()); in engineGetEncoded() 106 … currentSpec = new DHParameterSpec(dhP.getP(), dhP.getG(), dhP.getL().intValue()); in engineInit() 110 currentSpec = new DHParameterSpec(dhP.getP(), dhP.getG()); in engineInit()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | asan_prelink_test.cc | 16 int *getG() { in getG() function 21 extern int *getG(); 23 long p = (long)getG(); in main() 25 *getG() = 0; in main()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 115 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 150 ecP.getG().getAffineXCoord().toBigInteger(), in convertToSpec() 151 ecP.getG().getAffineYCoord().toBigInteger()), in convertToSpec() 170 ecP.getG().getAffineXCoord().toBigInteger(), in convertToSpec() 171 ecP.getG().getAffineYCoord().toBigInteger()), in convertToSpec() 180 ecP.getG().getAffineXCoord().toBigInteger(), in convertToSpec() 181 ecP.getG().getAffineYCoord().toBigInteger()), in convertToSpec() 195 domainParameters.getG().getAffineXCoord().toBigInteger(), in convertToSpec() 196 domainParameters.getG().getAffineYCoord().toBigInteger()), in convertToSpec() 265 spec.getG().getAffineXCoord().toBigInteger(), in convertSpec() [all …]
|
D | ECUtil.java | 127 …meters = new ECNamedDomainParameters(nameOid, nParams.getCurve(), nParams.getG(), nParams.getN(), … in getDomainParameters() 133 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 137 …domainParameters = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.… in getDomainParameters() 159 …domainParameters = new ECNamedDomainParameters(oid, ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.ge… in getDomainParameters() 165 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 171 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters() 188 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter() 196 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter() 242 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter() 250 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter() [all …]
|
D | DHUtil.java | 35 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter() 50 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKDSAPrivateKey.java | 50 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 …rSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParameters().getG()); in JDKDSAPrivateKey() 96 …ntifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Intege… in getEncoded() 127 && this.getParams().getG().equals(other.getParams().getG()) in equals() 134 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 174 out.writeObject(dsaSpec.getG()); in writeObject()
|
D | JDKDSAPublicKey.java | 35 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPublicKey() 49 …rSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParameters().getG()); in JDKDSAPublicKey() 81 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPublicKey() 109 …ntifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Intege… in getEncoded() 140 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 155 && this.getParams().getG().equals(other.getParams().getG()) in equals() 175 out.writeObject(dsaSpec.getG()); in writeObject()
|
D | JCEDHPublicKey.java | 37 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in JCEDHPublicKey() 51 …new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), params.getParame… in JCEDHPublicKey() 89 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in JCEDHPublicKey() 93 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in JCEDHPublicKey() 100 this.dhSpec = new DHParameterSpec(params.getP().getValue(), params.getG().getValue()); in JCEDHPublicKey() 125 …CSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL())),… in getEncoded() 175 out.writeObject(dhSpec.getG()); in writeObject()
|
D | JCEDHPrivateKey.java | 55 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in JCEDHPrivateKey() 75 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in JCEDHPrivateKey() 79 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in JCEDHPrivateKey() 86 this.dhSpec = new DHParameterSpec(params.getP().getValue(), params.getG().getValue()); in JCEDHPrivateKey() 98 …new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), params.getParame… in JCEDHPrivateKey() 131 …CSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL())),… in getEncoded() 166 out.writeObject(dhSpec.getG()); in writeObject()
|
D | JCEECPrivateKey.java | 130 dp.getG().getAffineXCoord().toBigInteger(), in JCEECPrivateKey() 131 dp.getG().getAffineYCoord().toBigInteger()), in JCEECPrivateKey() 161 dp.getG().getAffineXCoord().toBigInteger(), in JCEECPrivateKey() 162 dp.getG().getAffineYCoord().toBigInteger()), in JCEECPrivateKey() 173 spec.getG().getAffineXCoord().toBigInteger(), in JCEECPrivateKey() 174 spec.getG().getAffineYCoord().toBigInteger()), in JCEECPrivateKey() 232 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPrivKeyInfo() 233 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPrivKeyInfo() 250 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPrivKeyInfo() 251 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPrivKeyInfo()
|
D | DHUtil.java | 30 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter() 45 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
|
D | JCEECPublicKey.java | 173 dp.getG().getAffineXCoord().toBigInteger(), in createSpec() 174 dp.getG().getAffineYCoord().toBigInteger()), in createSpec() 262 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPubKeyInfo() 263 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPubKeyInfo() 282 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPubKeyInfo() 283 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPubKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | BCDSAPrivateKey.java | 50 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 …rSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParameters().getG()); in BCDSAPrivateKey() 94 …ntifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).toASN1Primitive(… in getEncoded() 118 && this.getParams().getG().equals(other.getParams().getG()) in equals() 125 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 165 out.writeObject(dsaSpec.getG()); in writeObject()
|
D | BCDSAPublicKey.java | 38 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPublicKey() 56 …rSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParameters().getG()); in BCDSAPublicKey() 85 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPublicKey() 122 …ntifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).toASN1Primitive(… in getEncoded() 150 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 173 && this.getParams().getG().equals(other.getParams().getG()) in equals() 215 out.writeObject(dsaSpec.getG()); in writeObject()
|
D | AlgorithmParametersSpi.java | 45 … DSAParameter dsaP = new DSAParameter(currentSpec.getP(), currentSpec.getQ(), currentSpec.getG()); in engineGetEncoded() 100 currentSpec = new DSAParameterSpec(dsaP.getP(), dsaP.getQ(), dsaP.getG()); in engineInit()
|
D | DSAUtil.java | 53 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()
|
D | KeyFactorySpi.java | 36 …n new DSAPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getQ(), k.getParams().getG()); in engineGetKeySpec() 42 … new DSAPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getQ(), k.getParams().getG()); in engineGetKeySpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
D | ECParameterSpec.java | 73 public ECPoint getG() in getG() method in ECParameterSpec 114 return this.getCurve().equals(other.getCurve()) && this.getG().equals(other.getG()); in equals() 119 return this.getCurve().hashCode() ^ this.getG().hashCode(); in hashCode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | DSAParameters.java | 47 public BigInteger getG() in getG() 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()
|
D | DHParameters.java | 111 public BigInteger getG() in getG() method in DHParameters 181 return pm.getP().equals(p) && pm.getG().equals(g); in equals() 186 return getP().hashCode() ^ getG().hashCode() ^ (getQ() != null ? getQ().hashCode() : 0); in hashCode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 106 BigInteger g = dhParams.getG(); in createKey() 136 DHParameters dhParams = new DHParameters(params.getP(), params.getG(), null, l); in createKey() 160 parameters = new DSAParameters(params.getP(), params.getQ(), params.getG()); in createKey() 182 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey() 188 x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey()
|
D | PrivateKeyFactory.java | 101 DHParameters dhParams = new DHParameters(params.getP(), params.getG(), null, l); in createKey() 124 parameters = new DSAParameters(params.getP(), params.getQ(), params.getG()); in createKey() 146 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey() 152 x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey()
|