266267268269270271272273274275
Moduli.DhGroup group = selected.get(which); return getDH(group.p, group.g); } protected DH getDH(BigInteger p, BigInteger g) throws Exception { DH dh = new DH(new SHA1.Factory()); dh.setP(p); dh.setG(g); return dh; }
6970717273747576777879
this.V_C = V_C; this.I_S = I_S; this.I_C = I_C; sha = new SHA1(); sha.init(); dh = new DH(); initDH(dh); e = dh.getE(); log.info("Send SSH_MSG_KEXDH_INIT"); Buffer buffer = s.createBuffer(SshConstants.Message.SSH_MSG_KEXDH_INIT, 0);
666768697071727374
this.V_C = V_C; this.I_S = I_S; this.I_C = I_C; sha = new SHA1(); sha.init(); dh = new DH(); initDH(dh); f = dh.getE(); }
179180181182183184185186187188
throw new IllegalStateException(); } protected DH getDH(BigInteger p, BigInteger g) throws Exception { DH dh = new DH(); dh.setP(p); dh.setG(g); return dh; }
44454647484950515253
} } protected DH getDH() throws Exception { DH dh = new DH(); dh.setG(DHGroupData.getG()); dh.setP(DHGroupData.getP1()); return dh; }
47484950515253545556
} @Override protected DH getDH(BigInteger p, BigInteger g) throws Exception { DH dh = new DH(new SHA256.Factory()); dh.setP(p); dh.setG(g); return dh; }
} @Override protected AbstractDH getDH() throws Exception { DH dh = new DH(); dh.setG(DHGroupData.getG()); dh.setP(DHGroupData.getP14()); return dh; }
219220221222223224225226227228
43444546474849505152
} @Override protected AbstractDH getDH() throws Exception { DH dh = new DH(); dh.setG(DHGroupData.getG()); dh.setP(DHGroupData.getP1()); return dh; }