Branch: Tag:

2014-12-06

2014-12-06 10:28:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DH: Added DLDHE2048 from the latest FF-DHE draft.

391:    Gmp.mpz("8CF83642 A709A097 B4479976 40129DA2 99B1A47D 1EB3750B"    "A308B0FE 64F5FBD3", 16));    + //! Discrete Log Diffie-Hellman 2048 + //! + //! From Negotiated FF-DHE for TLS draft 04, December 2014, Appendix A.1. + Parameters DLDHE2048 = +  /* p = 2^2048 - 2^1984 + floor{2^1918 e + 560315} * 2^64 - 1 */ +  Parameters(Gmp.mpz("FFFFFFFF FFFFFFFF ADF85458 A2BB4A9A AFDC5620 273D3CF1" +  "D8B9C583 CE2D3695 A9E13641 146433FB CC939DCE 249B3EF9" +  "7D2FE363 630C75D8 F681B202 AEC4617A D3DF1ED5 D5FD6561" +  "2433F51F 5F066ED0 85636555 3DED1AF3 B557135E 7F57C935" +  "984F0C70 E0E68B77 E2A689DA F3EFE872 1DF158A1 36ADE735" +  "30ACCA4F 483A797A BC0AB182 B324FB61 D108A94B B2C8E3FB" +  "B96ADAB7 60D7F468 1D4F42A3 DE394DF4 AE56EDE7 6372BB19" +  "0B07A7C8 EE0A6D70 9E02FCE1 CDF7E2EC C03404CD 28342F61" +  "9172FE9C E98583FF 8E4F1232 EEF28183 C3FE3B1B 4C6FAD73" +  "3BB5FCBC 2EC22005 C58EF183 7D1683B2 C6F34A26 C1B2EFFA" +  "886B4238 611FCFDC DE355B3B 6519035B BC34F4DE F99C0238" +  "61B46FC9 D6E6C907 7AD91D26 91F7F7EE 598CB0FA C186D91C" +  "AEFE1309 8533C8B3 FFFFFFFF FFFFFFFF", 16)); +    //! Discrete Log Diffie-Hellman 2432   //!   //! From Negotiated DL-DHE for TLS draft 02, April 2014, Appendix A.1.