HomeSort by relevance Sort by last modified time
    Searched full:dhparams (Results 1 - 14 of 14) sorted by null

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 21 BigInteger calculatePrivate(DHParameters dhParams, SecureRandom random)
23 int limit = dhParams.getL();
39 int m = dhParams.getM();
45 BigInteger q = dhParams.getQ();
48 q = dhParams.getP();
63 BigInteger calculatePublic(DHParameters dhParams, BigInteger x)
65 return dhParams.getG().modPow(x, dhParams.getP());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyPairGeneratorSpi.java 57 DHParameterSpec dhParams = (DHParameterSpec)params;
59 param = new DHKeyGenerationParameters(random, new DHParameters(dhParams.getP(), dhParams.getG(), null, dhParams.getL()));
77 DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength);
79 if (dhParams != null)
81 param = new DHKeyGenerationParameters(random, new DHParameters(dhParams.getP(), dhParams.getG(), null, dhParams.getL()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DHPublicKeyParameters.java 22 private BigInteger validate(BigInteger y, DHParameters dhParams)
30 if (y.compareTo(TWO) < 0 || y.compareTo(dhParams.getP().subtract(TWO)) > 0)
35 if (dhParams.getQ() != null)
37 if (ONE.equals(y.modPow(dhParams.getQ(), dhParams.getP())))
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DHBasicAgreement.java 26 private DHParameters dhParams;
49 this.dhParams = key.getParameters();
66 if (!pub.getParameters().equals(dhParams))
71 BigInteger result = pub.getY().modPow(key.getX(), dhParams.getP());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 101 DomainParameters dhParams = DomainParameters.getInstance(algId.getParameters());
103 BigInteger p = dhParams.getP();
104 BigInteger g = dhParams.getG();
105 BigInteger q = dhParams.getQ();
108 if (dhParams.getJ() != null)
110 j = dhParams.getJ();
114 ValidationParams dhValidationParms = dhParams.getValidationParams();
134 DHParameters dhParams = new DHParameters(params.getP(), params.getG(), null, l);
136 return new DHPublicKeyParameters(derY.getValue(), dhParams);
PrivateKeyFactory.java 99 DHParameters dhParams = new DHParameters(params.getP(), params.getG(), null, l);
101 return new DHPrivateKeyParameters(derX.getValue(), dhParams);
  /external/scapy/scapy/layers/tls/
keyexchange.py 232 This is a dispatcher for the Server*DHParams below, used in
239 XXX We could use Serv*DHParams.check_params() once it has been implemented.
680 which should contain a Server*DHParams after 'psk_identity_hint'.
744 First we update the client DHParams. Then, we try to update the server
745 DHParams generated during Server*DHParams building, with the shared
    [all...]
handshake.py 693 When the Server*DHParams are built via .fill_missing(), the session
734 While previously dissecting Server*DHParams, the session
    [all...]
  /external/boringssl/src/crypto/pem/
pem_all.c 260 IMPLEMENT_PEM_write_const(DHparams, DH, PEM_STRING_DHPARAMS, DHparams)
  /external/wpa_supplicant_8/src/tls/
tlsv1_cred.c 1212 wpa_printf(MSG_DEBUG, "TLSv1: No PEM dhparams tag found - "
1217 wpa_printf(MSG_DEBUG, "TLSv1: Converting PEM format dhparams into DER "
1223 wpa_printf(MSG_INFO, "TLSv1: Could not find PEM dhparams end "
1230 wpa_printf(MSG_INFO, "TLSv1: Could not decode PEM dhparams");
1235 wpa_printf(MSG_INFO, "TLSv1: Failed to parse PEM dhparams "
    [all...]
  /external/wycheproof/java/com/google/security/wycheproof/testcases/
DhTest.java 198 DHParameterSpec dhparams = ike2048(); local
199 keyGen.initialize(dhparams);
  /external/boringssl/src/include/openssl/
pem.h 355 DECLARE_PEM_rw_const(DHparams, DH)
  /libcore/luni/src/test/java/libcore/java/security/
KeyPairGeneratorTest.java 385 * openssl gendh 512 | openssl dhparams -C
  /external/libvncserver/
ChangeLog     [all...]

Completed in 432 milliseconds