/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/crypto/params/ |
DHParameters.java | 112 public BigInteger getG() 182 return pm.getP().equals(p) && pm.getG().equals(g); 187 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());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyAgreementSpi.java | 82 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) 183 this.g = p.getG(); 188 this.g = privKey.getParams().getG(); 207 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/jcajce/provider/asymmetric/util/ |
EC5Util.java | 77 spec.getG().getX().toBigInteger(), 78 spec.getG().getY().toBigInteger()), 87 spec.getG().getX().toBigInteger(), 88 spec.getG().getY().toBigInteger()),
|
ECUtil.java | 121 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); 127 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); 136 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); 182 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); 190 new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed()));
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
PacketKexDhGexGroup.java | 45 public BigInteger getG()
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/ |
DSAPrivateKey.java | 43 public BigInteger getG()
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAKeyFactoryImpl.java | 131 g = params.getG(); 154 g = params.getG(); 192 params.getG())); 207 .getG()));
|
/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 | 46 DSAParameter dsaP = new DSAParameter(currentSpec.getP(), currentSpec.getQ(), currentSpec.getG()); 101 currentSpec = new DSAParameterSpec(dsaP.getP(), dsaP.getQ(), dsaP.getG());
|
DSAUtil.java | 52 new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); 67 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());
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLDSAKeyFactory.java | 87 params.getG()); 97 params.getG()); 103 params.getG()); 113 params.getG()); 154 BigInteger g = params.getG(); 169 BigInteger g = params.getG();
|
OpenSSLDSAPrivateKey.java | 51 dsaKeySpec.getG().toByteArray(), 71 dsaParams.getG().toByteArray(), 229 stream.writeObject(params.getG());
|
OpenSSLDSAPublicKey.java | 51 dsaKeySpec.getG().toByteArray(), 71 dsaParams.getG().toByteArray(), 188 stream.writeObject(params.getG());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPrivateKey.java | 143 dp.getG().getX().toBigInteger(), 144 dp.getG().getY().toBigInteger()), 176 dp.getG().getX().toBigInteger(), 177 dp.getG().getY().toBigInteger()), 188 spec.getG().getX().toBigInteger(), 189 spec.getG().getY().toBigInteger()), 239 // gParam.getG().getX().toBigInteger(), 240 // gParam.getG().getY().toBigInteger()), 253 ecP.getG().getX().toBigInteger(), 254 ecP.getG().getY().toBigInteger()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEECPrivateKey.java | 130 dp.getG().getX().toBigInteger(), 131 dp.getG().getY().toBigInteger()), 161 dp.getG().getX().toBigInteger(), 162 dp.getG().getY().toBigInteger()), 173 spec.getG().getX().toBigInteger(), 174 spec.getG().getY().toBigInteger()), 218 // gParam.getG().getX().toBigInteger(), 219 // gParam.getG().getY().toBigInteger()), 232 ecP.getG().getX().toBigInteger(), 233 ecP.getG().getY().toBigInteger()) [all...] |
/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());
|