HomeSort by relevance Sort by last modified time
    Searched refs:getG (Results 26 - 50 of 109) sorted by null

12 3 4 5

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DHParameterSpecTest.java 54 assertEquals("The value returned by getG() must be "
56 dhps.getG(), gs[i]);
63 assertEquals("The value returned by getG() must be "
65 dhps.getG(), gs[i]);
  /libcore/luni/src/test/java/tests/security/interfaces/
DSAKeyTest.java 54 assertEquals("G differ", expected.getG(), actual.getG());
DSAParamsTest.java 32 * #getG()
36 assertEquals("Invalid G", g, params.getG());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyAgreementSpi.java 99 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p))
180 this.g = p.getG();
185 this.g = privKey.getParams().getG();
196 this.g = privKey.getParams().getG();
215 this.g = privKey.getParams().getG();
KeyFactorySpi.java 39 return new DHPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getG());
45 return new DHPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getG());
KeyPairGeneratorSpi.java 58 param = new DHKeyGenerationParameters(random, new DHParameters(dhParams.getP(), dhParams.getG(), null, dhParams.getL()));
80 param = new DHKeyGenerationParameters(random, new DHParameters(dhParams.getP(), dhParams.getG(), null, dhParams.getL()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DHParameters.java 111 public BigInteger getG()
181 return pm.getP().equals(p) && pm.getG().equals(g);
186 return getP().hashCode() ^ getG().hashCode() ^ (getQ() != null ? getQ().hashCode() : 0);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DSAParameterSpecTest.java 57 * getG() test
65 assertEquals(3, dps.getG().intValue());
DSAPrivateKeySpecTest.java 58 * getG() test
67 assertEquals(4, dpks.getG().intValue());
DSAPublicKeySpecTest.java 58 * Test for <code>getG</code> method
67 assertEquals(4, dpks.getG().intValue());
  /libcore/luni/src/test/java/tests/security/spec/
DSAParameterSpecTest.java 50 * getG() test
58 assertEquals(3, dps.getG().intValue());
DSAPrivateKeySpecTest.java 51 * getG() test
60 assertEquals(4, dpks.getG().intValue());
DSAPublicKeySpecTest.java 51 * Test for <code>getG</code> method
60 assertEquals(4, dpks.getG().intValue());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
AlgorithmParametersSpi.java 45 DSAParameter dsaP = new DSAParameter(currentSpec.getP(), currentSpec.getQ(), currentSpec.getG());
100 currentSpec = new DSAParameterSpec(dsaP.getP(), dsaP.getQ(), dsaP.getG());
DSAUtil.java 55 new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG()));
70 new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG()));
KeyFactorySpi.java 36 return new DSAPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getQ(), k.getParams().getG());
42 return new DSAPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getQ(), k.getParams().getG());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCEECPrivateKey.java 130 dp.getG().getAffineXCoord().toBigInteger(),
131 dp.getG().getAffineYCoord().toBigInteger()),
161 dp.getG().getAffineXCoord().toBigInteger(),
162 dp.getG().getAffineYCoord().toBigInteger()),
173 spec.getG().getAffineXCoord().toBigInteger(),
174 spec.getG().getAffineYCoord().toBigInteger()),
218 // gParam.getG().getAffineXCoord().toBigInteger(),
219 // gParam.getG().getAffineYCoord().toBigInteger()),
232 ecP.getG().getAffineXCoord().toBigInteger(),
233 ecP.getG().getAffineYCoord().toBigInteger())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
ECUtil.java 126 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
132 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
141 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
187 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
195 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
317 && params.getG().equals(ecParameterSpec.getG()))
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 106 BigInteger g = dhParams.getG();
136 DHParameters dhParams = new DHParameters(params.getP(), params.getG(), null, l);
147 // params.getP(), params.getG()));
160 parameters = new DSAParameters(params.getP(), params.getQ(), params.getG());
182 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed());
188 x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator4Test.java 120 params.getG()));
138 params.getG()), new SecureRandom());
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator4Test.java 118 params.getG()));
136 params.getG()), new SecureRandom());
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DHPrivateKeySpecTest.java 56 assertEquals("The value returned by getG() must be "
58 dhpks.getG(), gs[i]);
DHPublicKeySpecTest.java 56 assertEquals("The value returned by getG() must be "
58 dhpks.getG(), gs[i]);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 65 return dhParams.getG().modPow(x, dhParams.getP());
DSAKeyPairGenerator.java 40 BigInteger y = calculatePublicKey(dsaParams.getP(), dsaParams.getG(), x);

Completed in 379 milliseconds

12 3 4 5